From 6f0b5f95c34e16afccadf43d14fba46ab9c11490 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 19 Nov 2016 11:09:50 +0000 Subject: Fixed registry typo introduced with STM32L432 support. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9918 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L4xx/stm32_registry.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h index ecdc691ba..c1261e306 100644 --- a/os/hal/ports/STM32/STM32L4xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32L4xx/stm32_registry.h @@ -28,12 +28,13 @@ #if defined(STM32L432xx) #define STM32L432xx -#elif defined(STM32F476xx) +#elif defined(STM32L476xx) #define STM32L476xx #else #error "STM32L4xx device not specified" #endif + /*===========================================================================*/ /* Platform capabilities. */ /*===========================================================================*/ @@ -42,11 +43,12 @@ * @name STM32L4xx capabilities * @{ */ + /*===========================================================================*/ /* STM32L432xx. */ /*===========================================================================*/ -#if defined(STM32L432xx) +#if defined(STM32L432xx) || defined(__DOXYGEN__) /* ADC attributes.*/ #define STM32_HAS_ADC1 TRUE -- cgit v1.2.3