Force reconnect via Serial input
Type "X" into the serial console to force the network to reconnect.
This commit is contained in:
@@ -117,7 +117,9 @@ void handleSerial()
|
||||
} else if (next == 'v') {
|
||||
Serial.print("WLED"); Serial.write(' '); Serial.println(VERSION);
|
||||
|
||||
} else if (next == 0xB0) {updateBaudRate( 115200);
|
||||
} else if (next == 'X') {
|
||||
forceReconnect = true; // WLEDMM - force reconnect via Serial
|
||||
}} else if (next == 0xB0) {updateBaudRate( 115200);
|
||||
} else if (next == 0xB1) {updateBaudRate( 230400);
|
||||
} else if (next == 0xB2) {updateBaudRate( 460800);
|
||||
} else if (next == 0xB3) {updateBaudRate( 500000);
|
||||
|
||||
Reference in New Issue
Block a user