application: minor, fix typo

This commit is contained in:
King Kévin 2020-11-13 11:42:54 +01:00
parent dd52d0bf98
commit a4b5f95b07
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ void main(void)
if (rtc_internal_tick_flag) { // the internal RTC ticked
rtc_internal_tick_flag = false; // reset flag
action = true; // action has been performed
if (0 == (rtc_get_counter_val() % RTC_TICKS_SECOND)) { // one seond has passed
if (0 == (rtc_get_counter_val() % RTC_TICKS_SECOND)) { // one second has passed
led_toggle(); // toggle LED (good to indicate if main function is stuck)
}
}