aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index ef21d7136..f497dd143 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -425,7 +425,7 @@
#define STM32_HAS_OTG1 TRUE
#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 TRUE
-#define STM32_OTG2_ENDPOINTS 8
+#define STM32_OTG2_ENDPOINTS 7
#define STM32_HAS_USB FALSE
@@ -771,7 +771,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