Merge pull request #3831 from willmmiles/missing-ir-disable

getSettingsJS: Fix missing DISABLE_INFRARED guard
pull/3711/head^2
Blaž Kristan 2024-03-18 08:00:44 +01:00 zatwierdzone przez GitHub
commit 6110b72b87
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -471,8 +471,10 @@ void getSettingsJS(byte subPage, char* dest)
}
sappend('c',SET_F("IP"),disablePullUp);
sappend('v',SET_F("TT"),touchThreshold);
#ifndef WLED_DISABLE_INFRARED
sappend('v',SET_F("IR"),irPin);
sappend('v',SET_F("IT"),irEnabled);
#endif
sappend('c',SET_F("MSO"),!irApplyToAllSelected);
}