1 parent 296ba10 commit e470376Copy full SHA for e470376
1 file changed
ports/nrf/supervisor/port.c
@@ -225,7 +225,7 @@ void reset_cpu(void) {
225
// We're getting ready to reset, so save the counter off.
226
// This counter will get reset to zero during the reboot.
227
uint32_t ticks = nrfx_rtc_counter_get(&rtc_instance);
228
- overflow_tracker.overflowed_ticks += ticks;
+ overflow_tracker.overflowed_ticks += ticks / 32;
229
NVIC_SystemReset();
230
}
231
0 commit comments