Skip to content

Commit 22c457c

Browse files
committed
Fixed some commentary
Signed-off-by: Daniel Egger <[email protected]>
1 parent 2ee4b7b commit 22c457c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/led_hal_button_irq.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,9 @@ fn main() -> ! {
8484
}
8585
}
8686

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);
9087

88+
// Define an interupt handler, i.e. function to call when interrupt occurs. Here if our external
89+
// interrupt trips when the button is pressed and will light the LED for a second
9190
#[interrupt]
9291
fn EXTI0_1() {
9392
// Enter critical section

0 commit comments

Comments
 (0)