diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-13 12:25:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-13 12:25:29 +0000 |
commit | 5c75ead6a5bfb30df949f69e2fd3c90c62ac233f (patch) | |
tree | aab59174f650e698bb3f72913e96cdb4f3ca0aa3 /demos | |
parent | d688b84d2585d3bedbd682417313bcb581b1a1fc (diff) | |
download | ChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.tar.gz ChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.tar.bz2 ChibiOS-5c75ead6a5bfb30df949f69e2fd3c90c62ac233f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1163 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r-- | demos/GNU-Linux-GCC/chcore.c | 2 | ||||
-rw-r--r-- | demos/Win32-MinGW/chcore.c | 4 |
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();
}
}
|