application: minor, fix typo
This commit is contained in:
parent
dd52d0bf98
commit
a4b5f95b07
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue