movement: fire top of minute at top of minute, not bottom of last minute
This commit is contained in:
parent
bf44c0ae1e
commit
5ee0de27cf
@ -680,7 +680,6 @@ void app_setup(void) {
|
||||
// set up the 1 minute alarm (for background tasks and low power updates)
|
||||
watch_date_time_t alarm_time;
|
||||
alarm_time.reg = 0;
|
||||
alarm_time.unit.second = 59; // after a match, the alarm fires at the next rising edge of CLK_RTC_CNT, so 59 seconds lets us update at :00
|
||||
watch_rtc_register_alarm_callback(cb_alarm_fired, alarm_time, ALARM_MATCH_SS);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user