Skip to content

Commit

Permalink
boards: fix clippy ==true
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Sep 18, 2023
1 parent 4015ee7 commit f7d7260
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boards/clue_nrf52840/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl IoWrite for Writer {
n.clear_pending();
n.enable();
}
if DUMMY.fired.get() == true {
if DUMMY.fired.get() {
// buffer finished transmitting, return so we can output additional
// messages when requested by the panic handler.
break;
Expand Down
2 changes: 1 addition & 1 deletion boards/nano33ble/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl IoWrite for Writer {
n.clear_pending();
n.enable();
}
if DUMMY.fired.get() == true {
if DUMMY.fired.get() {
// buffer finished transmitting, return so we can output additional
// messages when requested by the panic handler.
break;
Expand Down
2 changes: 1 addition & 1 deletion boards/particle_boron/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ impl IoWrite for Writer {
n.clear_pending();
n.enable();
}
if DUMMY.fired.get() == true {
if DUMMY.fired.get() {
// buffer finished transmitting, return so we can output additional
// messages when requested by the panic handler.
break;
Expand Down

0 comments on commit f7d7260

Please sign in to comment.