mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Fixed up F1 targets.
This commit is contained in:
parent
ccac8c30d6
commit
1846322a98
7 changed files with 71 additions and 75 deletions
|
@ -70,16 +70,11 @@ typedef struct {
|
|||
uint8_t irq;
|
||||
uint8_t outputEnable;
|
||||
GPIO_Mode gpioInputMode;
|
||||
#ifdef STM32F3
|
||||
#if defined(STM32F3) || defined(STM32F4)
|
||||
uint8_t gpioPinSource; // TODO - this can be removed and pinSource calculated from pin
|
||||
uint8_t alternateFunction;
|
||||
uint8_t outputInverted;
|
||||
#endif
|
||||
#ifdef STM32F4
|
||||
uint8_t gpioPinSource; // TODO - this can be removed and pinSource calculated from pin
|
||||
uint8_t alternateFunction;
|
||||
uint8_t outputInverted;
|
||||
#endif
|
||||
} timerHardware_t;
|
||||
|
||||
extern const timerHardware_t timerHardware[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue