diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c index 05ad2b8a7..13a63d86f 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c +++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c @@ -897,7 +897,7 @@ void usb_lld_stop(USBDriver *usbp) { nvicDisableVector(STM32_OTG2_NUMBER); rccDisableOTG_HS(); #if defined(BOARD_OTG2_USES_ULPI) - rccDisableOTG_HSULPI() + rccDisableOTG_HSULPI(); #endif } #endif diff --git a/readme.txt b/readme.txt index a140c773f..c755f58d9 100644 --- a/readme.txt +++ b/readme.txt @@ -130,6 +130,8 @@ - NEW: Increased stacks size in RT test suite from 128 to 192. added an option to override the stack size by defining THREADS_STACK_SIZE in the makefile. +- FIX: Fixed missing semicolon in STM32 OTGv1 driver (bug #1243) + (backported to 20.3.5)(backported to 21.11.3). - FIX: Fixed HSI48 not enabled for STM32L496/​4A6 (bug #1242) (backported to 20.3.5)(backported to 21.11.3). - FIX: Fixed problem in STM32 gpt_lld_polled_delay() implementation (bug #1241)