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
@@ -23,6 +23,7 @@
#include "timers_driver.h"
#include "tasks/mixer_task.h"
#include "mixes.h"
#include "switches.h"
#if defined(USBJ_EX)
#include "usb_joystick.h"
@@ -244,6 +245,8 @@ if(g_model.rssiSource) {
customFunctionsReset();
logicalSwitchesInit(false);
restoreTimers();
for (int i=0; i<MAX_TELEMETRY_SENSORS; i++) {