HAL_ChibiOS: fixed build on STM32F3

This commit is contained in:
Andrew Tridgell 2019-12-27 19:23:22 +11:00
parent b1ca7380be
commit 8ffd1050eb
2 changed files with 2 additions and 2 deletions

View File

@ -321,7 +321,7 @@ void peripheral_power_enable(void)
#endif #endif
} }
#if defined(STM32F7) || defined(STM32H7) || defined(STM32F4) #if defined(STM32F7) || defined(STM32H7) || defined(STM32F4) || defined(STM32F3)
/* /*
read mode of a pin. This allows a pin config to be read, changed and read mode of a pin. This allows a pin config to be read, changed and
then written back then written back

View File

@ -78,7 +78,7 @@ void malloc_init(void);
read mode of a pin. This allows a pin config to be read, changed and read mode of a pin. This allows a pin config to be read, changed and
then written back then written back
*/ */
#if defined(STM32F7) || defined(STM32H7) || defined(STM32F4) #if defined(STM32F7) || defined(STM32H7) || defined(STM32F4) || defined(STM32F3)
iomode_t palReadLineMode(ioline_t line); iomode_t palReadLineMode(ioline_t line);
enum PalPushPull { enum PalPushPull {