instructions

This commit is contained in:
Lexzach 2023-03-23 11:16:04 -04:00
parent 8f10d91e93
commit 9f850b6f48
Signed by: Lexzach
GPG Key ID: B574880929E6F1F0
4 changed files with 4 additions and 3 deletions

View File

@ -2004,9 +2004,10 @@ void failsafe(){ //--------------------------------------------- FAILSAFE MODE I
void loop() {
systemClock = millis(); //-------------------- SYSTEM CLOCK
systemClock = millis(); //-------------------------------------------------- SYSTEM CLOCK
if (systemClock-lastPulse >= 1){
if (not failsafeMode){
if (not failsafeMode){ //execute the loop only if the panel is not in failsafe mode
lcdBacklight(); //------------------------------------------------------ CHECK LCD BACKLIGHT
checkDevices(); //------------------------------------------------------ CHECK ACTIVATING DEVICES
@ -2054,7 +2055,7 @@ void loop() {
} else {
buttonCheckTimer++;
}
} else {
} else { //failsafe mode
failsafe();
}
lastPulse = millis(); //update last pulse