mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
SoftSerial port for CC3D
This commit is contained in:
parent
63236d5a2a
commit
20c4dae7c2
7 changed files with 44 additions and 6 deletions
|
@ -85,6 +85,18 @@ typedef enum {
|
|||
#define SERIAL_PORT_IDENTIFIER_COUNT 5
|
||||
#else
|
||||
|
||||
#ifdef CCD3
|
||||
|
||||
typedef enum {
|
||||
SERIAL_PORT_USART1,
|
||||
SERIAL_PORT_USART3,
|
||||
SERIAL_PORT_SOFTSERIAL1,
|
||||
SERIAL_PORT_SOFTSERIAL2
|
||||
} serialPortIdentifier_e;
|
||||
|
||||
#define SERIAL_PORT_IDENTIFIER_COUNT 4
|
||||
#else
|
||||
|
||||
typedef enum {
|
||||
SERIAL_PORT_USART1 = 0,
|
||||
SERIAL_PORT_USART2,
|
||||
|
@ -95,6 +107,7 @@ typedef enum {
|
|||
|
||||
#define SERIAL_PORT_IDENTIFIER_COUNT 5
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// bitmask
|
||||
typedef enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue