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