From ffb3542a50514b30adefa943c4455e32b2617899 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 21 Dec 2020 14:00:15 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13974 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/simulator/win32/hal_lld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/os/hal/ports/simulator/win32/hal_lld.c b/os/hal/ports/simulator/win32/hal_lld.c index 5b50ca5c3..b513719a1 100644 --- a/os/hal/ports/simulator/win32/hal_lld.c +++ b/os/hal/ports/simulator/win32/hal_lld.c @@ -100,10 +100,10 @@ void _sim_check_for_interrupts(void) { } if (int_occurred) { - _dbg_check_lock(); + __dbg_check_lock(); if (chSchIsPreemptionRequired()) - chSchDoReschedule(); - _dbg_check_unlock(); + chSchDoPreemption(); + __dbg_check_unlock(); } }