mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
CC3D_OPBL. UART1 shown twice. Wrong serial port count fixed.
This commit is contained in:
parent
4c48a7ed6b
commit
4fd236ae00
1 changed files with 5 additions and 2 deletions
|
@ -72,8 +72,13 @@
|
|||
#define USE_VCP
|
||||
#define USE_UART1
|
||||
#define USE_UART3
|
||||
|
||||
#ifdef CC3D_OPBL
|
||||
#define SERIAL_PORT_COUNT 3
|
||||
#else
|
||||
#define USE_SOFTSERIAL1
|
||||
#define SERIAL_PORT_COUNT 4
|
||||
#endif
|
||||
|
||||
#ifdef USE_UART1_RX_DMA
|
||||
#undef USE_UART1_RX_DMA
|
||||
|
@ -116,9 +121,7 @@
|
|||
#define SKIP_PID_FLOAT
|
||||
#undef BARO
|
||||
#undef SONAR
|
||||
#undef USE_SOFTSERIAL1
|
||||
#undef LED_STRIP
|
||||
#define SKIP_PID_FLOAT
|
||||
#endif
|
||||
|
||||
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue