mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-01 21:34:38 +01:00
prueba5
This commit is contained in:
parent
79405abe06
commit
aba82ef3e0
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
void Configuration::writeFile() {
|
||||
Serial.println("Saving config..");
|
||||
Serial.println("Saving config...");
|
||||
|
||||
StaticJsonDocument<2560> data;
|
||||
File configFile = SPIFFS.open("/igate_conf.json", "w");
|
||||
|
|
@ -112,6 +112,7 @@ void Configuration::writeFile() {
|
|||
configFile.close();
|
||||
|
||||
Serial.println("Config saved");
|
||||
delay(200);
|
||||
}
|
||||
|
||||
bool Configuration::readFile() {
|
||||
|
|
|
|||
|
|
@ -224,6 +224,7 @@ namespace WEB_Utils {
|
|||
response->addHeader("Location", "/");
|
||||
request->send(response);
|
||||
displayToggle(false);
|
||||
delay(200);
|
||||
ESP.restart();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue