This commit is contained in:
rusefillc 2022-03-11 13:06:47 -05:00
parent d1f839e33d
commit 47d84d8c0d
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ static char cmdBaud[25];
static char cmdName[30];
static char cmdPin[16];
// JDY-33 has 9: 128000 which we do not
static const int baudRates[] = { 0, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, -1 };
static const int baudRateIndexList[] = { 4 /*9600*/, 6 /*38400*/, 8 /*115200*/, 7, 5, 3, 2, 1, -1 };
static const int btModuleTimeout = TIME_MS2I(1000);