aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 12:47:55 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-19 12:47:55 +0000
commit736b8dfa592c6f6422e537893aed3ec8e0fdf259 (patch)
tree93817ce74e67f1f4b3bdf18029840dc0b91e9d77 /os
parent29f768a490587c0e4fed7a0a792da94fd17fb38d (diff)
downloadChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.tar.gz
ChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.tar.bz2
ChibiOS-736b8dfa592c6f6422e537893aed3ec8e0fdf259.zip
Fixed bug #978.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12272 110e8d01-0319-4d1e-a829-52ad28d1bb01
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 6c6ddb5b1..4da2d8b88 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -1568,7 +1568,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -1903,7 +1903,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 3
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE