aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-05-29 08:31:47 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-05-29 08:31:47 +0000
commit4838806bfec4edfa5f016e0c4fe6637cf3052a74 (patch)
tree2dc3c5b53a22be3057357904e8a624d175fb7d97 /os/hal/ports/STM32/STM32F4xx
parent0a80e007b010a9b1546c6e19d0cf768d52f6650b (diff)
downloadChibiOS-4838806bfec4edfa5f016e0c4fe6637cf3052a74.tar.gz
ChibiOS-4838806bfec4edfa5f016e0c4fe6637cf3052a74.tar.bz2
ChibiOS-4838806bfec4edfa5f016e0c4fe6637cf3052a74.zip
Various fixes thanks to pl4nkton.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10224 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/stm32_registry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
index f497dd143..8a54f2a21 100644
--- a/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F4xx/stm32_registry.h
@@ -769,7 +769,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 2
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 6
+#define STM32_OTG1_ENDPOINTS 5
#define STM32_HAS_OTG2 TRUE
#define STM32_OTG2_ENDPOINTS 7
@@ -1464,7 +1464,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 4
+#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -1759,7 +1759,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 4
+#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE
@@ -2665,7 +2665,7 @@
/* USB attributes.*/
#define STM32_OTG_STEPPING 1
#define STM32_HAS_OTG1 TRUE
-#define STM32_OTG1_ENDPOINTS 4
+#define STM32_OTG1_ENDPOINTS 3
#define STM32_HAS_OTG2 FALSE
#define STM32_HAS_USB FALSE