additional info in case that IR support is disabled

similar to other "not compiled into this firmware" messages.
This commit is contained in:
Frank
2022-11-07 18:38:36 +01:00
parent 4b5627ac72
commit 217ab27463
3 changed files with 477 additions and 465 deletions

View File

@@ -462,6 +462,9 @@ void getSettingsJS(byte subPage, char* dest)
sappend('v',SET_F("IR"),irPin);
sappend('v',SET_F("IT"),irEnabled);
sappend('c',SET_F("MSO"),!irApplyToAllSelected);
#if !defined(WLED_DISABLE_INFRARED)
oappend(SET_F("hideNoIR();")); // hide "not compiled in" message
#endif
}
if (subPage == 3)