Skip to content

Commit

Permalink
esp32 Arduino 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marchingband committed Oct 24, 2022
1 parent 309bcf2 commit 92ea7db
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/bundle.h

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,14 +518,24 @@ void handleBackupEMMC(AsyncWebServerRequest *request){
}

void handleRestoreEMMC(AsyncWebServerRequest *request, uint8_t *data, size_t len, size_t index, size_t total){
if(index == 0){
Serial.println("Starting eMMC restore.");
}
feedLoopWDT();
restore_emmc(data, len);
feedLoopWDT();
// if(loop_num++ % 100 == 0)
// {
// Serial.print(".");
// feedLoopWDT();
// }
if(index + len == total){
//done
feedLoopWDT();
Serial.println("closing eMMC restore.");
close_restore_emmc();
request->send(200, "text/plain", "done upload wav");
Serial.println("done eMMC restore.");
request->send(200, "text/plain", "done emmc restore");
}
}

Expand Down Expand Up @@ -634,7 +644,7 @@ void server_begin() {
WiFi.mode(WIFI_AP);

IPAddress IP = IPAddress (192, 168, 5, 18);
IPAddress gateway = IPAddress (192, 168, 5, 20);
IPAddress gateway = IPAddress (192, 168, 5, 17);
IPAddress NMask = IPAddress (255, 255, 255, 0);

WiFi.softAPConfig(IP, gateway, NMask);
Expand Down
2 changes: 1 addition & 1 deletion src/wvr_0.3.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef WVR_0_3_H
#define WVR_0_3_H

#define VERSION_CODE "3.7.0"
#define VERSION_CODE "3.7.2"

void wvr_init(bool useFTDI, bool useUsbMidi, bool checkRecoveryModePin);

Expand Down

0 comments on commit 92ea7db

Please sign in to comment.