From 76d8262f134d41c05adda7edb27d9868ca847941 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 28 Dec 2012 17:40:45 +0000 Subject: Zero-copy API for the MAC driver. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4984 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/mac.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/src') 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. */ /*===========================================================================*/ -- cgit v1.2.3