Add SD update to CLI

This commit is contained in:
Just Call Me Koko
2022-12-08 12:43:44 -05:00
parent f6c77beeb3
commit 5723ca09c0
+5
View File
@@ -486,6 +486,11 @@ void CommandLine::runCommand(String input) {
Serial.println("SD card is not connected. Cannot perform SD Update");
return;
}
wifi_scan_obj.currentScanMode = OTA_UPDATE;
#ifdef HAS_SCREEN
changeMenu(&failedUpdateMenu);
#endif
sd_obj.runUpdate();
}
}
}