feat: allow Sticky LS state to persist across EM or optionally across reboot (#4978)

This commit is contained in:
philmoz
2024-06-02 16:22:36 +10:00
committed by GitHub
parent 0399858a76
commit b16524837a
26 changed files with 121 additions and 46 deletions
+3
View File
@@ -85,6 +85,9 @@ bool switchHasCustomName(uint8_t idx);
SwitchConfig switchGetMaxType(uint8_t idx);
// Restore switch state
void logicalSwitchesInit(bool force);
#if defined(FUNCTION_SWITCHES)
uint8_t getFSLogicalState(uint8_t index);
void setFSLogicalState(uint8_t index, uint8_t value);