mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Fixed initialisation of unused pins on STM32F411.
This commit is contained in:
parent
0c6b965898
commit
a8a3585f38
2 changed files with 2 additions and 1 deletions
|
@ -154,8 +154,10 @@ const timerHardware_t fullTimerHardware[FULL_TIMER_CHANNEL_COUNT] = {
|
||||||
DEF_TIM(TIM9, CH2, PE6, TIM_USE_ANY, 0, 0),
|
DEF_TIM(TIM9, CH2, PE6, TIM_USE_ANY, 0, 0),
|
||||||
|
|
||||||
//PORTF
|
//PORTF
|
||||||
|
#if !defined(STM32F411xE)
|
||||||
DEF_TIM(TIM10, CH1, PF6, TIM_USE_ANY, 0, 0),
|
DEF_TIM(TIM10, CH1, PF6, TIM_USE_ANY, 0, 0),
|
||||||
DEF_TIM(TIM11, CH1, PF7, TIM_USE_ANY, 0, 0),
|
DEF_TIM(TIM11, CH1, PF7, TIM_USE_ANY, 0, 0),
|
||||||
|
#endif
|
||||||
|
|
||||||
//PORTH
|
//PORTH
|
||||||
// Port H is not available for LPQFP-100 or 144 package
|
// Port H is not available for LPQFP-100 or 144 package
|
||||||
|
|
|
@ -47,4 +47,3 @@
|
||||||
#define TARGET_IO_PORTC 0xffff
|
#define TARGET_IO_PORTC 0xffff
|
||||||
#define TARGET_IO_PORTD 0xffff
|
#define TARGET_IO_PORTD 0xffff
|
||||||
#define TARGET_IO_PORTE 0xffff
|
#define TARGET_IO_PORTE 0xffff
|
||||||
#define TARGET_IO_PORTF 0xffff
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue