This commit is contained in:
parent
d1f839e33d
commit
47d84d8c0d
|
@ -31,6 +31,7 @@ static char cmdBaud[25];
|
||||||
static char cmdName[30];
|
static char cmdName[30];
|
||||||
static char cmdPin[16];
|
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 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 baudRateIndexList[] = { 4 /*9600*/, 6 /*38400*/, 8 /*115200*/, 7, 5, 3, 2, 1, -1 };
|
||||||
static const int btModuleTimeout = TIME_MS2I(1000);
|
static const int btModuleTimeout = TIME_MS2I(1000);
|
||||||
|
|
Loading…
Reference in New Issue