Do not disable the timer in cpu_fast_off_reset() because the timers have already been reinitialized at this point.

This commit is contained in:
OBattler
2022-07-21 19:51:34 +02:00
parent e911cc5a34
commit c6d7f4a95b

View File

@@ -1870,9 +1870,6 @@ cpu_fast_off_period_set(uint16_t val, double period)
void
cpu_fast_off_reset(void)
{
if (cpu_fast_off_timer)
timer_disable(cpu_fast_off_timer);
cpu_register_fast_off_handler(NULL);
cpu_fast_off_period = 0.0;
cpu_fast_off_advance();