Browse Source

Fixed some commentary

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
features/pwm
Daniel Egger 4 years ago
parent
commit
22c457c097
  1. 5
      examples/led_hal_button_irq.rs

5
examples/led_hal_button_irq.rs

@ -84,10 +84,9 @@ fn main() -> ! {
}
}
/* Define an intterupt handler, i.e. function to call when exception occurs. Here if our external
* interrupt trips the flash function which will be called */
//interrupt!(EXTI0_1, button_press);
// Define an interupt handler, i.e. function to call when interrupt occurs. Here if our external
// interrupt trips when the button is pressed and will light the LED for a second
#[interrupt]
fn EXTI0_1() {
// Enter critical section

Loading…
Cancel
Save