diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 13:15:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 13:15:29 +0000 |
commit | dc403a00e86455bc65aabbd6c3d0fffe97b00ac4 (patch) | |
tree | ff317e8fc00accaa76bac2ab8493d4cef0dbb6f7 /os/hal/include | |
parent | 26790f9fb067095c855498241ababa35ce17e555 (diff) | |
download | ChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.tar.gz ChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.tar.bz2 ChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.zip |
Updated all platforms.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1480 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/can.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/can.h b/os/hal/include/can.h index 2a0d1e4df..d49f5ee18 100644 --- a/os/hal/include/can.h +++ b/os/hal/include/can.h @@ -62,8 +62,8 @@ /* Derived constants and error checks. */
/*===========================================================================*/
-#if !CH_USE_SEMAPHORES
-#error "CAN driver requires CH_USE_SEMAPHORES"
+#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
+#error "the ADC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
#endif
/*===========================================================================*/
|