mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-23 09:46:33 +11:00
Good ol' clippy.
This commit is contained in:
parent
b89e728e9c
commit
25d87b838b
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ unsafe fn USBCTRL_IRQ() {
|
||||||
let serial = USB_SERIAL.as_mut().unwrap();
|
let serial = USB_SERIAL.as_mut().unwrap();
|
||||||
|
|
||||||
// Say hello exactly once on start-up
|
// Say hello exactly once on start-up
|
||||||
if SAID_HELLO.load(Ordering::Relaxed) == false {
|
if !SAID_HELLO.load(Ordering::Relaxed) {
|
||||||
SAID_HELLO.store(true, Ordering::Relaxed);
|
SAID_HELLO.store(true, Ordering::Relaxed);
|
||||||
let _ = serial.write(b"Hello, World!\r\n");
|
let _ = serial.write(b"Hello, World!\r\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue