aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/Win32/hal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/Win32/hal_lld.c')
-rw-r--r--os/hal/platforms/Win32/hal_lld.c2
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);