aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/GNU-Linux-GCC/chcore.c2
-rw-r--r--demos/Win32-MinGW/chcore.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/demos/GNU-Linux-GCC/chcore.c b/demos/GNU-Linux-GCC/chcore.c
index e75776e95..e7116edb4 100644
--- a/demos/GNU-Linux-GCC/chcore.c
+++ b/demos/GNU-Linux-GCC/chcore.c
@@ -61,7 +61,7 @@ void ChkIntSources(void) {
pending = FALSE;
}
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
}
diff --git a/demos/Win32-MinGW/chcore.c b/demos/Win32-MinGW/chcore.c
index 70742d3c4..95d8b9de8 100644
--- a/demos/Win32-MinGW/chcore.c
+++ b/demos/Win32-MinGW/chcore.c
@@ -67,7 +67,7 @@ void ChkIntSources(void) {
LARGE_INTEGER n;
if (sd_lld_interrupt_pending()) {
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
return;
}
@@ -77,7 +77,7 @@ void ChkIntSources(void) {
if (n.QuadPart > nextcnt.QuadPart) {
nextcnt.QuadPart += slice.QuadPart;
chSysTimerHandlerI();
- if (chSchRescRequiredI())
+ if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
}
}