Skip to content

Commit 79ff4c8

Browse files
authored
adds 5250000 baud (ExpressLRS#1174)
Co-authored-by: Jye <[email protected]>
1 parent 3cd913f commit 79ff4c8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/CRSF/CRSF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ uint32_t CRSF::UARTwdtLastChecked;
8585

8686
uint8_t CRSF::CRSFoutBuffer[CRSF_MAX_PACKET_LEN] = {0};
8787
uint8_t CRSF::maxPacketBytes = CRSF_MAX_PACKET_LEN;
88-
uint32_t CRSF::TxToHandsetBauds[] = {400000, 115200, 921600, 1870000, 3750000};
88+
uint32_t CRSF::TxToHandsetBauds[] = {400000, 115200, 5250000, 3750000, 1870000, 921600};
8989
uint8_t CRSF::UARTcurrentBaudIdx = 0;
9090

9191
bool CRSF::CRSFstate = false;

src/lib/CRSF/CRSF.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class CRSF
143143
static uint32_t BadPktsCount;
144144
static uint32_t UARTwdtLastChecked;
145145
static uint8_t maxPacketBytes;
146-
static uint32_t TxToHandsetBauds[5];
146+
static uint32_t TxToHandsetBauds[6];
147147
static uint8_t UARTcurrentBaudIdx;
148148
static bool CRSFstate;
149149
static uint8_t MspData[ELRS_MSP_BUFFER];

0 commit comments

Comments
 (0)