diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-05 17:40:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-05 17:40:46 +0000 |
commit | bd96aadd957fab46d4173cd74b31c5da44d20899 (patch) | |
tree | 6f6c27d9baef50481e196f0d3ba57f25469bbbde /os/hal/include/mac.h | |
parent | 855fe2391d07c5dab27129ad626541482fe8d782 (diff) | |
download | ChibiOS-bd96aadd957fab46d4173cd74b31c5da44d20899.tar.gz ChibiOS-bd96aadd957fab46d4173cd74b31c5da44d20899.tar.bz2 ChibiOS-bd96aadd957fab46d4173cd74b31c5da44d20899.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1502 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/mac.h')
-rw-r--r-- | os/hal/include/mac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/include/mac.h b/os/hal/include/mac.h index 0d7a3d76e..85da4fc57 100644 --- a/os/hal/include/mac.h +++ b/os/hal/include/mac.h @@ -41,6 +41,10 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
+#error "the MAC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
+#endif
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
|