Browse Source

Changed a confusing comment in an example about the event clearing

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
trying.tmp
Daniel Egger 3 years ago
parent
commit
c944a4e882
  1. 2
      examples/led_hal_button_irq.rs

2
examples/led_hal_button_irq.rs

@ -105,7 +105,7 @@ fn EXTI0_1() {
// Turn off LED
led.set_low();
// Clear interrupt
// Clear event triggering the interrupt
exti.pr.write(|w| w.pif1().set_bit());
}
});

Loading…
Cancel
Save