From efd143f36b209b613d8eff9b9ad99df28503edab Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 20 Nov 2022 09:02:49 +0000 Subject: [PATCH] Fixed bug #1243. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15844 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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)