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:
parent
4dca5a0f1a
commit
d2f620597c
@ -34,11 +34,13 @@ void setup()
|
|||||||
Serial.print("AP PASSWORD : ");if((*cfgDictionary)("PASSWORD") != NULL)Serial.println((*cfgDictionary)("PASSWORD")->stringValue());
|
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");
|
CFGFileParser cfgFileParsert2(sab.getSdCardManager(), "/CONFIG/TEST2.CFG");
|
||||||
|
|
||||||
Serial.print("TEST1 : ");Serial.println(cfgFileParsert1.save(cfgDictionary));
|
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;
|
delete cfgDictionary;
|
||||||
|
|
||||||
@ -132,6 +134,8 @@ void loop()
|
|||||||
Serial.printf("Changing view\nSelected view is : %d\n",sab.getScreenManager().getCurrentViewUID());
|
Serial.printf("Changing view\nSelected view is : %d\n",sab.getScreenManager().getCurrentViewUID());
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
default: //NO_EVENT
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Run the different services
|
//Run the different services
|
||||||
@ -139,7 +143,7 @@ void loop()
|
|||||||
evHan.run();
|
evHan.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
ICACHE_RAM_ATTR void ioISR()
|
IRAM_ATTR void ioISR()
|
||||||
{
|
{
|
||||||
ioStateChange = true;
|
ioStateChange = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user