mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-10-02 06:40:47 +00:00
Silence clippy (#2332)
This commit is contained in:
parent
e22103d867
commit
7aa8145213
@ -175,6 +175,7 @@ fn timestamp() -> smoltcp::time::Instant {
|
||||
}
|
||||
|
||||
// this is just to verify that we use the correct defaults in `build.rs`
|
||||
#[allow(clippy::assertions_on_constants)] // TODO: try assert_eq once it's usable in const context
|
||||
const _: () = {
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(not(esp32h2))] {
|
||||
|
Loading…
x
Reference in New Issue
Block a user