mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-03-03 18:27:06 +00:00
Fixed reboot look
This commit is contained in:
@@ -121,6 +121,10 @@ DSMRParser *dsmrParser = NULL;
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
|
||||
if(!config.hasConfig()) {
|
||||
config.clearGpio(gpioConfig);
|
||||
}
|
||||
|
||||
delay(1);
|
||||
config.loadTempSensors();
|
||||
hw.setup(&gpioConfig, &config);
|
||||
|
||||
Reference in New Issue
Block a user