mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Update target.h
Make changes recommended by mikeller.
This commit is contained in:
parent
65fdd805e3
commit
f2cab20e95
1 changed files with 6 additions and 3 deletions
|
@ -29,9 +29,6 @@
|
||||||
#define TARGET_BOARD_IDENTIFIER "RVLT"
|
#define TARGET_BOARD_IDENTIFIER "RVLT"
|
||||||
#define USBD_PRODUCT_STRING "Revolt"
|
#define USBD_PRODUCT_STRING "Revolt"
|
||||||
#define TARGET_DEFAULT_MIXER MIXER_QUADX_1234
|
#define TARGET_DEFAULT_MIXER MIXER_QUADX_1234
|
||||||
#define USE_UART4
|
|
||||||
#define UART4_RX_PIN PA1
|
|
||||||
#define UART4_TX_PIN PA0
|
|
||||||
|
|
||||||
#elif defined(SOULF4)
|
#elif defined(SOULF4)
|
||||||
#define TARGET_BOARD_IDENTIFIER "SOUL"
|
#define TARGET_BOARD_IDENTIFIER "SOUL"
|
||||||
|
@ -195,6 +192,12 @@
|
||||||
#define UART3_RX_PIN PB11
|
#define UART3_RX_PIN PB11
|
||||||
#define UART3_TX_PIN PB10
|
#define UART3_TX_PIN PB10
|
||||||
|
|
||||||
|
#if defined(REVOLT)
|
||||||
|
#define USE_UART4
|
||||||
|
#define UART4_RX_PIN PA1
|
||||||
|
#define UART4_TX_PIN PA0
|
||||||
|
#endif // REVOLT
|
||||||
|
|
||||||
#define USE_UART6
|
#define USE_UART6
|
||||||
#define UART6_RX_PIN PC7
|
#define UART6_RX_PIN PC7
|
||||||
#define UART6_TX_PIN PC6
|
#define UART6_TX_PIN PC6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue