movement: fire top of minute at top of minute, not bottom of last minute

This commit is contained in:
Joey Castillo 2025-05-21 15:08:00 -04:00
parent bf44c0ae1e
commit 5ee0de27cf

View File

@ -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);
}