From 0f943a5e86f3745e75b35d81207fa0b73c70709a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 25 Sep 2010 05:50:12 +0000 Subject: [PATCH] fixed bug 3064204. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2189 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/can.h | 2 ++ readme.txt | 3 +++ 2 files changed, 5 insertions(+) diff --git a/os/hal/include/can.h b/os/hal/include/can.h index c7bfd1ec6..b9442597c 100644 --- a/os/hal/include/can.h +++ b/os/hal/include/can.h @@ -69,7 +69,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. */ diff --git a/readme.txt b/readme.txt index 3cb510610..a39e77a4a 100644 --- a/readme.txt +++ b/readme.txt @@ -58,6 +58,9 @@ *** Releases *** ***************************************************************************** +*** 2.0.5 *** +- FIX: Fixed CAN_USE_SLEEP_MODE setting (bug 3064204). + *** 2.0.4 *** - FIX: Fixed potential issue with GCC reorganizing instructions around "asm volatile" statements (bug 3058731).