diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h index d1128a4eb..a9a3e4721 100644 --- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h @@ -376,7 +376,7 @@ #define STM32_HAS_OTG1 TRUE #define STM32_OTG1_ENDPOINTS 6 #define STM32_HAS_OTG2 TRUE -#define STM32_OTG2_ENDPOINTS 8 +#define STM32_OTG2_ENDPOINTS 7 #define STM32_HAS_USB FALSE diff --git a/readme.txt b/readme.txt index f50795469..587209cbd 100644 --- a/readme.txt +++ b/readme.txt @@ -73,6 +73,7 @@ ***************************************************************************** *** 16.1.8 *** +- HAL: Fixed STM32 OTGv1 number of endpoints (bug #833). - HAL: Fixed transaction end problem with STM32 OTGv1 driver (bug #832). - HAL: Fixed wrong comment in STM32F7 mcuconf (bug #830). - RT: Fixed race condition in chBMReset() (bug #828).