diff --git a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h index 69a5ab603..4d7ae1593 100644 --- a/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h +++ b/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.h @@ -229,9 +229,9 @@ #define STM32_USBCLK STM32_48CLK #elif defined(STM32H7XX) /* Defines directly STM32_USBCLK.*/ -#define rccEnableOTG_FS rccEnableUSB2_OTG_HS -#define rccDisableOTG_FS rccDisableUSB2_OTG_HS -#define rccResetOTG_FS rccResetUSB2_OTG_HS +#define rccEnableOTG_FS rccEnableUSB2_OTG_FS +#define rccDisableOTG_FS rccDisableUSB2_OTG_FS +#define rccResetOTG_FS rccResetUSB2_OTG_FS #define rccEnableOTG_HS rccEnableUSB1_OTG_HS #define rccDisableOTG_HS rccDisableUSB1_OTG_HS #define rccResetOTG_HS rccResetUSB1_OTG_HS diff --git a/readme.txt b/readme.txt index 4e3a92d4f..0c8bfbc41 100644 --- a/readme.txt +++ b/readme.txt @@ -123,6 +123,8 @@ MEMS Accelerometers. - NEW: Safer messages mechanism for sandboxes (to be backported to 20.3.1). - NEW: Added latency measurement test application. +- FIX: Fixed OTG_FS error on STM32H7 (bug #1135) + (backported to 20.3.3)(backported to 19.1.5). - FIX: Fixed compile error of STM32 CRYPv1 driver when DMAMU is present (bug #1134)(backported to 20.3.3). - FIX: Fixed moved define into hal_wspi_lld.c (bug #1133)