diff options
Diffstat (limited to 'demos/Win32-MinGW/chcore.c')
-rw-r--r-- | demos/Win32-MinGW/chcore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/Win32-MinGW/chcore.c b/demos/Win32-MinGW/chcore.c index 4f677b929..ee04147e9 100644 --- a/demos/Win32-MinGW/chcore.c +++ b/demos/Win32-MinGW/chcore.c @@ -76,7 +76,8 @@ static void ChkIntSources(void) { if (Com1InInterruptSimCom() || Com2InInterruptSimCom() ||
Com1OutInterruptSimCom() || Com2OutInterruptSimCom() ||
Com1ConnInterruptSimCom() || Com2ConnInterruptSimCom()) {
- chSchRescheduleI();
+ if (chSchRescRequiredI())
+ chSchDoRescheduleI();
return;
}
|