small patch

This commit is contained in:
Lexzach 2022-10-02 22:41:26 -04:00
parent 82cca59f11
commit df8434a38b
Signed by: Lexzach
GPG Key ID: B574880929E6F1F0

View File

@ -1621,6 +1621,10 @@ void config(){
EEPROM.write(76,0); //disable pre-alarm EEPROM.write(76,0); //disable pre-alarm
smokeDetectorVerification = false; smokeDetectorVerification = false;
smokeDetectorOn(true); //re-enable smoke detectors in the case that one turned off because it was in verification smokeDetectorOn(true); //re-enable smoke detectors in the case that one turned off because it was in verification
digitalWrite(alarmLed, LOW);
smokeDetectorCurrentlyInVerification=false;
smokeDetectorPostRestartTimer=0;
smokeDetectorTimer=0;
} }
EEPROM.commit(); EEPROM.commit();
configTop = (String)mainSettingsVerificationSettings[2] + smokeDetectorVerification; configTop = (String)mainSettingsVerificationSettings[2] + smokeDetectorVerification;