chore(cpn): stop compiler warnings (#6523)

This commit is contained in:
Neil Horne
2025-08-17 20:17:47 +10:00
committed by GitHub
parent d6b765f677
commit a9a0edefe8
3 changed files with 18 additions and 4 deletions
@@ -379,9 +379,12 @@ class GeneralSettings {
unsigned int offColorLuaOverride;
RGBLedColor onColor;
RGBLedColor offColor;
SwitchConfig();
};
SwitchConfig switchConfig[CPN_MAX_SWITCHES];
void switchConfigClear();
bool switchPositionAllowed(int index) const;
bool switchSourceAllowed(int index) const;