diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 21:38:05 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 21:38:05 +0000 |
commit | 74328c0fc0a8d46c97b954ab153d44ac2891ed04 (patch) | |
tree | 478f750f74bf1b502cc2918f88cb75af9269b027 /os/hal/platforms/Win32/hal_lld.c | |
parent | e3109b783f9d498661d56a557ddbfd5674669d03 (diff) | |
download | ChibiOS-74328c0fc0a8d46c97b954ab153d44ac2891ed04.tar.gz ChibiOS-74328c0fc0a8d46c97b954ab153d44ac2891ed04.tar.bz2 ChibiOS-74328c0fc0a8d46c97b954ab153d44ac2891ed04.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1404 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/Win32/hal_lld.c')
-rw-r--r-- | os/hal/platforms/Win32/hal_lld.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/Win32/hal_lld.c b/os/hal/platforms/Win32/hal_lld.c index 9051e90dc..43eff9781 100644 --- a/os/hal/platforms/Win32/hal_lld.c +++ b/os/hal/platforms/Win32/hal_lld.c @@ -81,11 +81,13 @@ void hal_lld_init(void) { void ChkIntSources(void) {
LARGE_INTEGER n;
+#if CH_HAL_USE_SERIAL
if (sd_lld_interrupt_pending()) {
if (chSchIsRescRequiredExI())
chSchDoRescheduleI();
return;
}
+#endif
// Interrupt Timer simulation (10ms interval).
QueryPerformanceCounter(&n);
|