We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b6d38 commit 24ea739Copy full SHA for 24ea739
src/main.rs
@@ -1063,7 +1063,7 @@ impl Hardware {
1063
resets,
1064
clocks.peripheral_clock.freq(),
1065
2_000_000.Hz(),
1066
- &embedded_hal::spi::MODE_0,
+ embedded_hal::spi::MODE_0,
1067
),
1068
delay,
1069
led_state: 0,
@@ -2624,9 +2624,7 @@ extern "C" fn power_control(power_mode: common::PowerMode) -> ! {
2624
// Reboot to USB bootloader with no GPIOs and both USB interfaces
2625
// enabled.
2626
hal::rom_data::reset_to_usb_boot(0, 0);
2627
- loop {
2628
- core::unreachable!()
2629
- }
+ core::unreachable!()
2630
}
2631
_ => {
2632
// Anything else causes a reset
0 commit comments