Skip to content

Commit 22d7684

Browse files
authored
Update ESP32FS.java
1 parent d7bfee1 commit 22d7684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ESP32FS.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ private void createAndUpload(){
360360
sysExec(new String[]{espota.getAbsolutePath(), "-i", serialPort, "-p", "3232", "-s", "-f", imagePath});
361361
} else {
362362
String mcu = BaseNoGui.getBoardPreferences().get("build.mcu");
363-
String flashMode = BaseNoGui.getBoardPreferences().get("build.flash_mode");
364-
String flashFreq = BaseNoGui.getBoardPreferences().get("build.flash_freq");
363+
String flashMode = BaseNoGui.getBoardPreferences().get("build.flash-mode");
364+
String flashFreq = BaseNoGui.getBoardPreferences().get("build.flash-freq");
365365
System.out.println("[SPIFFS] address: "+spiStart);
366366
System.out.println("[SPIFFS] port : "+serialPort);
367367
System.out.println("[SPIFFS] speed : "+uploadSpeed);

0 commit comments

Comments
 (0)