1
0
Fork 0
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:
Jay Blackman 2025-01-11 06:10:06 +11:00 committed by GitHub
parent c91e4214eb
commit 016d5764c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 1 deletions

View file

@ -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