aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/STM32F3xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32F3xx/stm32_registry.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
index 1a576e5dd..1336a6ed8 100644
--- a/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F3xx/stm32_registry.h
@@ -1287,11 +1287,10 @@
#define STM32_HAS_OTG2 FALSE
#endif /* defined(STM32F358xC) */
-
/*===========================================================================*/
/* STM32F334xC. */
/*===========================================================================*/
-#if defined(STM32F334xC) || defined(__DOXYGEN__)
+#if defined(STM32F334x8) || defined(__DOXYGEN__)
/* ADC attributes.*/
#define STM32_HAS_ADC1 TRUE
#define STM32_HAS_ADC2 TRUE
@@ -1435,7 +1434,7 @@
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 FALSE
#define STM32_HAS_OTG2 FALSE
-#endif /* defined(STM32F334xC) */
+#endif /* defined(STM32F334x8) */
/** @} */