worked on documentation

This commit is contained in:
Lexzach 2022-12-19 23:07:12 -05:00
parent 86e7352bc5
commit b8656e1810
5 changed files with 1 additions and 3 deletions

View File

@ -450,6 +450,7 @@ void activateNAC(){
silenced = false; silenced = false;
inConfigMenu = false; inConfigMenu = false;
codeWheelTimer = 0; codeWheelTimer = 0;
strobeSyncTimer = 0;
secondStage = (zoneAlarm == 4 or not preAlarm) ? true : false; //entirely skip first stage if it is a drill or if prealarm is turned off secondStage = (zoneAlarm == 4 or not preAlarm) ? true : false; //entirely skip first stage if it is a drill or if prealarm is turned off
tone(); tone();
digitalWrite(readyLed, HIGH); digitalWrite(readyLed, HIGH);
@ -1085,7 +1086,6 @@ void config(){
configLCDUpdate(0, (String)main[0], (String)main[1]); configLCDUpdate(0, (String)main[0], (String)main[1]);
strobe = false; strobe = false;
smokeDetectorOn(true); smokeDetectorOn(true);
digitalWrite(readyLed,HIGH);
} else if (drillPressed and not drillStillPressed){ } else if (drillPressed and not drillStillPressed){
if (cursorPosition == 0){ if (cursorPosition == 0){
walkTest = true; walkTest = true;
@ -1107,12 +1107,10 @@ void config(){
if (not strobe){ if (not strobe){
strobe = true; strobe = true;
smokeDetectorOn(false); //prevent (specifically cheap IR) smoke detectors from tripping from the strobe smokeDetectorOn(false); //prevent (specifically cheap IR) smoke detectors from tripping from the strobe
digitalWrite(readyLed,LOW);
configLCDUpdate(2, (String)mainTesting[2]+" *", (String)mainTesting[0]); configLCDUpdate(2, (String)mainTesting[2]+" *", (String)mainTesting[0]);
} else { } else {
strobe = false; strobe = false;
smokeDetectorOn(true); smokeDetectorOn(true);
digitalWrite(readyLed,HIGH);
configLCDUpdate(2, (String)mainTesting[2], (String)mainTesting[0]); configLCDUpdate(2, (String)mainTesting[2], (String)mainTesting[0]);
} }
} }