aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/can.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-11 10:57:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-11 10:57:11 +0000
commit781b0b129cccbecba160effce8c4ddd68295b8b9 (patch)
tree4e32a7b8c14e9eb808e1ae305fcbbff76074de48 /os/hal/include/can.h
parentd51840a0c799be3b684c5b379f4015475096b6b1 (diff)
downloadChibiOS-781b0b129cccbecba160effce8c4ddd68295b8b9.tar.gz
ChibiOS-781b0b129cccbecba160effce8c4ddd68295b8b9.tar.bz2
ChibiOS-781b0b129cccbecba160effce8c4ddd68295b8b9.zip
Fixed bug 3064204.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/can.h')
-rw-r--r--os/hal/include/can.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/can.h b/os/hal/include/can.h
index b503dd8e3..4a40fb952 100644
--- a/os/hal/include/can.h
+++ b/os/hal/include/can.h
@@ -62,7 +62,9 @@
/**
* @brief Sleep mode related APIs inclusion switch.
*/
+#if !defined(CAN_USE_SLEEP_MODE) || defined(__DOXYGEN__)
#define CAN_USE_SLEEP_MODE TRUE
+#endif
/*===========================================================================*/
/* Derived constants and error checks. */