From c944a4e88230972df1f5f1dd6d8eeb62cdf6f68e Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Wed, 23 Oct 2019 20:53:38 +0200 Subject: [PATCH] Changed a confusing comment in an example about the event clearing Signed-off-by: Daniel Egger --- examples/led_hal_button_irq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/led_hal_button_irq.rs b/examples/led_hal_button_irq.rs index 255729d..1af4676 100644 --- a/examples/led_hal_button_irq.rs +++ b/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()); } });