diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-07 16:13:01 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-07 16:13:01 +0000 |
commit | 0b8fd860fa71b35bfe0a242471d3bc4b56c93089 (patch) | |
tree | bef2e30c56b7f7e99e6d0aa6ddf7ca7459ce0f1a /os/hal/include/can.h | |
parent | f1aa994420693645eb0ea371017170b465f86ef2 (diff) | |
download | ChibiOS-0b8fd860fa71b35bfe0a242471d3bc4b56c93089.tar.gz ChibiOS-0b8fd860fa71b35bfe0a242471d3bc4b56c93089.tar.bz2 ChibiOS-0b8fd860fa71b35bfe0a242471d3bc4b56c93089.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1381 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/can.h')
-rw-r--r-- | os/hal/include/can.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/include/can.h b/os/hal/include/can.h index c8027af39..8f2a7572d 100644 --- a/os/hal/include/can.h +++ b/os/hal/include/can.h @@ -29,6 +29,10 @@ #if CH_HAL_USE_CAN || defined(__DOXYGEN__)
+#if !CH_USE_SEMAPHORES
+#error "CAN driver requires CH_USE_SEMAPHORES"
+#endif
+
/**
* @brief Errors rate warning.
*/
|