From f7d726003933f8e7cd97efd3e28affb1a86af176 Mon Sep 17 00:00:00 2001 From: Brad Campbell Date: Mon, 18 Sep 2023 16:27:15 -0400 Subject: [PATCH] boards: fix clippy ==true --- boards/clue_nrf52840/src/io.rs | 2 +- boards/nano33ble/src/io.rs | 2 +- boards/particle_boron/src/io.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/clue_nrf52840/src/io.rs b/boards/clue_nrf52840/src/io.rs index 197433404d..4ed3d24e88 100644 --- a/boards/clue_nrf52840/src/io.rs +++ b/boards/clue_nrf52840/src/io.rs @@ -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; diff --git a/boards/nano33ble/src/io.rs b/boards/nano33ble/src/io.rs index e77407b961..858452e1f5 100644 --- a/boards/nano33ble/src/io.rs +++ b/boards/nano33ble/src/io.rs @@ -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; diff --git a/boards/particle_boron/src/io.rs b/boards/particle_boron/src/io.rs index aa1b531d15..5784c04b01 100644 --- a/boards/particle_boron/src/io.rs +++ b/boards/particle_boron/src/io.rs @@ -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;