1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

Add 230400 & 250000 baud rates, 2 stop-bits port mode

This commit is contained in:
Nicholas Sherlock 2015-03-06 20:07:07 +13:00
parent 3e73b3de53
commit cbaa67f1d0
4 changed files with 10 additions and 3 deletions

View file

@ -28,6 +28,7 @@ typedef enum portMode_t {
MODE_RXTX = MODE_RX | MODE_TX,
MODE_SBUS = 1 << 2,
MODE_BIDIR = 1 << 3,
MODE_STOPBITS2 = 1 << 4,
} portMode_t;
typedef void (*serialReceiveCallbackPtr)(uint16_t data); // used by serial drivers to return frames to app