aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/serial.h')
-rw-r--r--os/hal/include/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/serial.h b/os/hal/include/serial.h
index a44e10cac..ac3ea3130 100644
--- a/os/hal/include/serial.h
+++ b/os/hal/include/serial.h
@@ -79,8 +79,8 @@
/* Derived constants and error checks. */
/*===========================================================================*/
-#if !CH_USE_QUEUES && !CH_USE_EVENTS
-#error "Serial Driver requires CH_USE_QUEUES and CH_USE_EVENTS"
+#if !CH_CFG_USE_QUEUES && !CH_CFG_USE_EVENTS
+#error "Serial Driver requires CH_CFG_USE_QUEUES and CH_CFG_USE_EVENTS"
#endif
/*===========================================================================*/