mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed build on STM32F3
This commit is contained in:
parent
b1ca7380be
commit
8ffd1050eb
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue