aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/can.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-07 16:13:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-07 16:13:01 +0000
commit0b8fd860fa71b35bfe0a242471d3bc4b56c93089 (patch)
treebef2e30c56b7f7e99e6d0aa6ddf7ca7459ce0f1a /os/hal/include/can.h
parentf1aa994420693645eb0ea371017170b465f86ef2 (diff)
downloadChibiOS-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.h4
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.
*/