Skip to content

Commit

Permalink
Fix warnings about empty loops
Browse files Browse the repository at this point in the history
  • Loading branch information
usbalbin committed Nov 30, 2023
1 parent 22b766c commit 740f344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/comp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use rt::entry;
#[cfg(not(feature = "stm32g474"))]
#[entry]
fn main() -> ! {
#[allow(clippy::empty_loop)]
loop {} // TODO: add support for more devices
}

Expand Down
1 change: 1 addition & 0 deletions examples/comp_w_dac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use rt::entry;
#[cfg(not(feature = "stm32g474"))]
#[entry]
fn main() -> ! {
#[allow(clippy::empty_loop)]
loop {} // TODO: add support for more devices
}

Expand Down

0 comments on commit 740f344

Please sign in to comment.