Skip to content

Commit b6b77e1

Browse files
committed
Change UploadSpeed to baud as per breaking change described in esp8266/Arduino#5572
1 parent 747729d commit b6b77e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

esp8266fs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,8 @@ function getSpiffsOptions(packagesPath, target, arduinoJson, preferences) {
616616
spiffsOptions.flashFreq = preferences.flash_freq;
617617
spiffsOptions.flashSize = "0x" + toHex(stringToInt(spiffsOptions.spiffs_start) + stringToInt(spiffsOptions.dataSize));
618618

619-
if (arduinoJson.UploadSpeed)
620-
spiffsOptions.speed = arduinoJson.UploadSpeed;
619+
if (arduinoJson.baud)
620+
spiffsOptions.speed = arduinoJson.baud;
621621

622622
if (arduinoJson.ResetMethod)
623623
spiffsOptions.resetmethod = arduinoJson.ResetMethod;

0 commit comments

Comments
 (0)