aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/other/rtc/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32/f1/other/rtc/rtc.c')
-rw-r--r--examples/stm32/f1/other/rtc/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32/f1/other/rtc/rtc.c b/examples/stm32/f1/other/rtc/rtc.c
index 28ae24c..7203e5d 100644
--- a/examples/stm32/f1/other/rtc/rtc.c
+++ b/examples/stm32/f1/other/rtc/rtc.c
@@ -73,7 +73,7 @@ void rtc_isr(void)
volatile u32 j = 0, c = 0;
/* The interrupt flag isn't cleared by hardware, we have to do it. */
- rtc_clear_flag(RTC_SEC);
+ rtc_clear_flag(RTC_SEC);
/* Visual output. */
gpio_toggle(GPIOC, GPIO12);
@@ -110,7 +110,7 @@ int main(void)
/* Enable the RTC interrupt to occur off the SEC flag. */
rtc_interrupt_enable(RTC_SEC);
- while(1);
+ while (1);
return 0;
}