From 228d2320436c66194e6afbe4fcdf4c43878f7997 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 May 2020 11:50:33 +0000 Subject: [PATCH] Fixed bug #1094. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13637 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/FDCANv1/hal_can_lld.c | 4 ++-- readme.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/os/hal/ports/STM32/LLD/FDCANv1/hal_can_lld.c b/os/hal/ports/STM32/LLD/FDCANv1/hal_can_lld.c index 7d51dc868..66ed7618d 100644 --- a/os/hal/ports/STM32/LLD/FDCANv1/hal_can_lld.c +++ b/os/hal/ports/STM32/LLD/FDCANv1/hal_can_lld.c @@ -525,8 +525,6 @@ void can_lld_wakeup(CANDriver *canp) { } #endif /* CAN_USE_SLEEP_MODE */ -#endif /* HAL_USE_CAN */ - /** * @brief FDCAN IRQ0 service routine. * @@ -567,4 +565,6 @@ void can_lld_serve_interrupt(CANDriver *canp) { } } +#endif /* HAL_USE_CAN */ + /** @} */ diff --git a/readme.txt b/readme.txt index fe6952d12..2ab985cf8 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,8 @@ MEMS Accelerometers. - NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1). - NEW: Added latency measurement test application. +- FIX: Fixed STM32G4 demos compile fails if smart mode is disabled (bug #1094) + (backported to 20.3.2). - FIX: Fixed failure in chSemReset() function when counter is equal to MAXINT (bug #1093)(backported to 20.3.2)(backported to 19.1.5). - FIX: Fixed swapped definition in ST_STM32F746G_DISCOVERY board files