mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
FIX: RCC is platform specific (#14137)
* FIX: RCC is platform specific * Renamed to PLATFORM_TRAIT_RCC
This commit is contained in:
parent
c91e4214eb
commit
016d5764c8
4 changed files with 7 additions and 1 deletions
|
@ -385,9 +385,11 @@ extern uint8_t _dmaram_end__;
|
|||
// all pins on given uart use same AF
|
||||
#define UART_TRAIT_AF_PORT 1
|
||||
#else
|
||||
#error Unknown STM MCU when defining UART_TRAIT_x
|
||||
#error Unknown STM MCU when defining UART_TRAIT_x
|
||||
#endif
|
||||
|
||||
#define PLATFORM_TRAIT_RCC 1
|
||||
|
||||
#if defined(STM32F7) || defined(STM32H7) || defined(STM32G4)
|
||||
#define UART_TRAIT_PINSWAP 1
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue