Skip to content

Commit

Permalink
Fixed reboot look
Browse files Browse the repository at this point in the history
  • Loading branch information
gskjold committed Jan 18, 2023
1 parent e8fc6d4 commit dd23a0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AmsToMqttBridge.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd23a0f

Please sign in to comment.