diff options
| author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-11-19 11:09:50 +0000 | 
|---|---|---|
| committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-11-19 11:09:50 +0000 | 
| commit | 6f0b5f95c34e16afccadf43d14fba46ab9c11490 (patch) | |
| tree | c9288cd0e3e0a794396849372d8900c3637ff28b | |
| parent | 1ab094fcaa9902d94e564cb2929f9fea92ca3ac7 (diff) | |
| download | ChibiOS-6f0b5f95c34e16afccadf43d14fba46ab9c11490.tar.gz ChibiOS-6f0b5f95c34e16afccadf43d14fba46ab9c11490.tar.bz2 ChibiOS-6f0b5f95c34e16afccadf43d14fba46ab9c11490.zip | |
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
| -rw-r--r-- | os/hal/ports/STM32/STM32L4xx/stm32_registry.h | 6 | 
1 files changed, 4 insertions, 2 deletions
| 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
 | 
