From 27713f6557c99835be544719550aa68cd2fdbaa3 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 16 Jul 2022 03:22:41 +0200 Subject: [PATCH] More CPU. --- src/cpu/386_common.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu/386_common.c b/src/cpu/386_common.c index aa5a813b8..bef9aa59a 100644 --- a/src/cpu/386_common.c +++ b/src/cpu/386_common.c @@ -1868,6 +1868,9 @@ 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();