diff options
Diffstat (limited to 'os/hal/include/can.h')
-rw-r--r-- | os/hal/include/can.h | 2 |
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. */
|