mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
update target.h
update target.h according to review comments
This commit is contained in:
parent
93bdec6edc
commit
54e90c2569
1 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
#define ACC_1_ALIGN CW90_DEG
|
||||
|
||||
#define USE_VCP
|
||||
#if defined(CRAZYBEEF3DX)
|
||||
#define USE_UART2
|
||||
#define USE_UART3
|
||||
#define SERIAL_PORT_COUNT 3
|
||||
|
@ -87,6 +88,12 @@
|
|||
#define UART2_RX_PIN PA15
|
||||
#define UART3_TX_PIN PB10
|
||||
#define UART3_RX_PIN PB11
|
||||
#else
|
||||
#define USE_UART3
|
||||
#define SERIAL_PORT_COUNT 2
|
||||
#define UART3_TX_PIN PB10
|
||||
#define UART3_RX_PIN PB11
|
||||
#endif
|
||||
|
||||
#define USE_SPI
|
||||
#define USE_SPI_DEVICE_1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue