1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 09:16:07 +03:00

SERIAL_BIDIR_PP def in drivers/serial.h

This commit is contained in:
jflyper 2016-10-05 01:40:36 +09:00
parent 8334cd35ff
commit f5dd171c8c

View file

@ -31,7 +31,9 @@ typedef enum portOptions_t {
SERIAL_PARITY_NO = 0 << 2,
SERIAL_PARITY_EVEN = 1 << 2,
SERIAL_UNIDIR = 0 << 3,
SERIAL_BIDIR = 1 << 3
SERIAL_BIDIR = 1 << 3,
SERIAL_BIDIR_OD = 0 << 4,
SERIAL_BIDIR_PP = 1 << 4
} portOptions_t;
typedef void (*serialReceiveCallbackPtr)(uint16_t data); // used by serial drivers to return frames to app