Corrected set baud for ESP
This commit is contained in:
@@ -225,7 +225,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setBaud(unsigned long baud) {
|
void setBaud(unsigned long baud) {
|
||||||
sendAT(GF("+IPR="), baud);
|
sendAT(GF("+UART_CUR="), baud, "8,1,0,0");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool testAT(unsigned long timeout = 10000L) {
|
bool testAT(unsigned long timeout = 10000L) {
|
||||||
|
Reference in New Issue
Block a user