personalNote1

This commit is contained in:
richonguzman 2024-06-26 13:05:45 -04:00
parent ad1129c588
commit ab9443140b
6 changed files with 28 additions and 7 deletions

View file

@ -179,6 +179,8 @@ bool Configuration::readFile() {
rebootMode = data["other"]["rebootMode"].as<bool>();
rebootModeTime = data["other"]["rebootModeTime"].as<int>();
personalNote = data["personalNote"].as<String>();
int stationMode = data["stationMode"].as<int>(); // deprecated but need to specify config version
if (stationMode == 0) {
@ -350,6 +352,8 @@ void Configuration::init() {
rebootMode = false;
rebootModeTime = 0;
personalNote = "";
Serial.println("All is Written!");
}