Corrected set baud for ESP

This commit is contained in:
Sara Damiano
2019-02-20 12:09:22 -05:00
parent bdfa2ba55c
commit 05c394bffb

View File

@@ -225,7 +225,7 @@ public:
}
void setBaud(unsigned long baud) {
sendAT(GF("+IPR="), baud);
sendAT(GF("+UART_CUR="), baud, "8,1,0,0");
}
bool testAT(unsigned long timeout = 10000L) {