We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee4b7b commit 22c457cCopy full SHA for 22c457c
examples/led_hal_button_irq.rs
@@ -84,10 +84,9 @@ fn main() -> ! {
84
}
85
86
87
-/* Define an intterupt handler, i.e. function to call when exception occurs. Here if our external
88
- * interrupt trips the flash function which will be called */
89
-//interrupt!(EXTI0_1, button_press);
90
+// 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
91
#[interrupt]
92
fn EXTI0_1() {
93
// Enter critical section
0 commit comments