For scheduled tasks (function calls) that are initialized with add_repeating_timer_us (or add_repeating_timer_ms), updating the Timer value invalidates the scheduled time when the function should be called.
Currently, we update the Pico's hardware timer when we receive a new synchronization signal. To preserve the Pico SDK's ability to reliably scheduled tasks on a particular interval, changing the timer to reflect the new time would mean we would also need to update all of the alarm times.
For scheduled tasks (function calls) that are initialized with
add_repeating_timer_us
(oradd_repeating_timer_ms
), updating the Timer value invalidates the scheduled time when the function should be called.Currently, we update the Pico's hardware timer when we receive a new synchronization signal. To preserve the Pico SDK's ability to reliably scheduled tasks on a particular interval, changing the timer to reflect the new time would mean we would also need to update all of the alarm times.