aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/mac.h')
-rw-r--r--os/hal/include/mac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/include/mac.h b/os/hal/include/mac.h
index 868460ad5..8b882054a 100644
--- a/os/hal/include/mac.h
+++ b/os/hal/include/mac.h
@@ -61,12 +61,12 @@
/* Derived constants and error checks. */
/*===========================================================================*/
-#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
-#error "the MAC driver requires CH_USE_SEMAPHORES"
+#if !CH_CFG_USE_SEMAPHORES || !CH_CFG_USE_EVENTS
+#error "the MAC driver requires CH_CFG_USE_SEMAPHORES"
#endif
-#if MAC_USE_EVENTS && !CH_USE_EVENTS
-#error "the MAC driver requires CH_USE_EVENTS"
+#if MAC_USE_EVENTS && !CH_CFG_USE_EVENTS
+#error "the MAC driver requires CH_CFG_USE_EVENTS"
#endif
/*===========================================================================*/