aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/can.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/can.h')
-rw-r--r--os/hal/include/can.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/can.h b/os/hal/include/can.h
index 6cd2f55c1..7b649827f 100644
--- a/os/hal/include/can.h
+++ b/os/hal/include/can.h
@@ -89,8 +89,8 @@
/* Derived constants and error checks. */
/*===========================================================================*/
-#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
-#error "CAN driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
+#if !CH_CFG_USE_SEMAPHORES || !CH_CFG_USE_EVENTS
+#error "CAN driver requires CH_CFG_USE_SEMAPHORES and CH_CFG_USE_EVENTS"
#endif
/*===========================================================================*/