aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/hal_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/hal_lld.h')
-rw-r--r--os/hal/platforms/STM32/hal_lld.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h
index 9cca9401f..0abac770c 100644
--- a/os/hal/platforms/STM32/hal_lld.h
+++ b/os/hal/platforms/STM32/hal_lld.h
@@ -125,7 +125,7 @@
#define STM32_HAS_UART4 FALSE
#define STM32_HAS_USB FALSE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_MD_VL)
/*
@@ -192,7 +192,7 @@
#define STM32_HAS_UART4 FALSE
#define STM32_HAS_USB FALSE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_LD)
/*
@@ -259,7 +259,7 @@
#define STM32_HAS_UART4 FALSE
#define STM32_HAS_USB FALSE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_MD)
/*
@@ -326,7 +326,7 @@
#define STM32_HAS_UART4 FALSE
#define STM32_HAS_USB TRUE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_HD)
/*
@@ -393,7 +393,7 @@
#define STM32_HAS_UART4 TRUE
#define STM32_HAS_USB TRUE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_XD)
/*
@@ -460,7 +460,7 @@
#define STM32_HAS_UART4 TRUE
#define STM32_HAS_USB TRUE
-#define STM32_HAS_USBOTG FALSE
+#define STM32_HAS_OTG1 FALSE
#elif defined(STM32F10X_CL)
/*
@@ -527,7 +527,7 @@
#define STM32_HAS_UART4 TRUE
#define STM32_HAS_USB FALSE
-#define STM32_HAS_USBOTG TRUE
+#define STM32_HAS_OTG1 TRUE
#else
#error "unspecified, unsupported or invalid STM32 platform"