Skip to content

Commit b79b8d4

Browse files
committed
Fix: restoring serial port speed at startup
1 parent 24d825f commit b79b8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/cfg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
221221
}
222222

223223
CJSON(serialBaud, hw[F("baud")]);
224-
if (serialBaud < 96 || serialBaud > 15000) serialBaud = 1152;
224+
if (serialBaud < 96 || serialBaud > 40000) serialBaud = 1152;
225225
updateBaudRate(serialBaud *100);
226226

227227
//int hw_status_pin = hw[F("status")]["pin"]; // -1

0 commit comments

Comments
 (0)