Renamed ICACHE_RAM_ATTR to IRAM_ATTR because the former was deprecated, removed the multiline comment and replaced it with an #if statement

This commit is contained in:
Th3maz1ng 2022-03-29 23:23:47 +02:00
parent 4dca5a0f1a
commit d2f620597c

View File

@ -33,12 +33,14 @@ void setup()
{
Serial.print("AP PASSWORD : ");if((*cfgDictionary)("PASSWORD") != NULL)Serial.println((*cfgDictionary)("PASSWORD")->stringValue());
}
/*CFGFileParser cfgFileParsert1(sab.getSdCardManager(), "/CONFIG/TEST1.CFG");
#if 0
CFGFileParser cfgFileParsert1(sab.getSdCardManager(), "/CONFIG/TEST1.CFG");
CFGFileParser cfgFileParsert2(sab.getSdCardManager(), "/CONFIG/TEST2.CFG");
Serial.print("TEST1 : ");Serial.println(cfgFileParsert1.save(cfgDictionary));
Serial.print("TEST2 : ");Serial.println(cfgFileParsert2.save(cfgDictionary));*/
Serial.print("TEST2 : ");Serial.println(cfgFileParsert2.save(cfgDictionary));
#endif
delete cfgDictionary;
@ -132,6 +134,8 @@ void loop()
Serial.printf("Changing view\nSelected view is : %d\n",sab.getScreenManager().getCurrentViewUID());
#endif
break;
default: //NO_EVENT
break;
}
//Run the different services
@ -139,7 +143,7 @@ void loop()
evHan.run();
}
ICACHE_RAM_ATTR void ioISR()
IRAM_ATTR void ioISR()
{
ioStateChange = true;
}