aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/mac.c')
-rw-r--r--os/hal/src/mac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/src/mac.c b/os/hal/src/mac.c
index e052e0945..130c81caf 100644
--- a/os/hal/src/mac.c
+++ b/os/hal/src/mac.c
@@ -35,6 +35,10 @@
/* Driver local definitions. */
/*===========================================================================*/
+#if MAC_USE_ZERO_COPY && !MAC_SUPPORTS_ZERO_COPY
+#error "MAC_USE_ZERO_COPY not supported by this implementation"
+#endif
+
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/