aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/can_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-02 13:35:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-02 13:35:55 +0000
commitbedb87c1e7cc9741c57c299d81d6e24c5e9c59c5 (patch)
tree7a3f0b05365b525bd9335b9a660aa80b6b6975b3 /os/hal/platforms/STM32/can_lld.h
parent15e6fecf11e470abebe963177434f83883e63acf (diff)
downloadChibiOS-bedb87c1e7cc9741c57c299d81d6e24c5e9c59c5.tar.gz
ChibiOS-bedb87c1e7cc9741c57c299d81d6e24c5e9c59c5.tar.bz2
ChibiOS-bedb87c1e7cc9741c57c299d81d6e24c5e9c59c5.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1495 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.h')
-rw-r--r--os/hal/platforms/STM32/can_lld.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h
index 754d4eadb..ced27f38d 100644
--- a/os/hal/platforms/STM32/can_lld.h
+++ b/os/hal/platforms/STM32/can_lld.h
@@ -93,6 +93,10 @@
/* Derived constants and error checks. */
/*===========================================================================*/
+#if CAN_USE_SLEEP_MODE && !CAN_SUPPORTS_SLEEP
+#error "CAN sleep mode not supported in this architecture"
+#endif
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/