feat: Function Switch led startup sequence (#1746)

* TPro - Fancy led startup seq

* Cleanup

* fix define for function switches

* added shutdown sequence @pfeerick

* Formatting

Co-authored-by: Batam <batam@macbook-pro.home>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Batambatam
2022-03-31 11:50:46 +10:00
committed by GitHub
co-authored by Batam Peter Feerick
parent 06585a0736
commit ed7be53565
2 changed files with 33 additions and 8 deletions
+6 -4
View File
@@ -145,10 +145,12 @@ void evalFunctionSwitches()
storageDirty(EE_MODEL);
}
if (getFSLogicalState(i))
fsLedOn(i);
else
fsLedOff(i);
if (!pwrPressed()) {
if (getFSLogicalState(i))
fsLedOn(i);
else
fsLedOff(i);
}
}
}
#endif