mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +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_VCP
|
||||||
#define USE_UART1
|
#define USE_UART1
|
||||||
#define USE_UART3
|
#define USE_UART3
|
||||||
|
|
||||||
|
#ifdef CC3D_OPBL
|
||||||
|
#define SERIAL_PORT_COUNT 3
|
||||||
|
#else
|
||||||
#define USE_SOFTSERIAL1
|
#define USE_SOFTSERIAL1
|
||||||
#define SERIAL_PORT_COUNT 4
|
#define SERIAL_PORT_COUNT 4
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_UART1_RX_DMA
|
#ifdef USE_UART1_RX_DMA
|
||||||
#undef USE_UART1_RX_DMA
|
#undef USE_UART1_RX_DMA
|
||||||
|
@ -116,9 +121,7 @@
|
||||||
#define SKIP_PID_FLOAT
|
#define SKIP_PID_FLOAT
|
||||||
#undef BARO
|
#undef BARO
|
||||||
#undef SONAR
|
#undef SONAR
|
||||||
#undef USE_SOFTSERIAL1
|
|
||||||
#undef LED_STRIP
|
#undef LED_STRIP
|
||||||
#define SKIP_PID_FLOAT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM
|
#define DEFAULT_RX_FEATURE FEATURE_RX_PPM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue