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