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

getSettingsJS: Fix missing DISABLE_INFRARED guard
This commit is contained in:
Blaž Kristan
2024-03-18 08:00:44 +01:00
committed by GitHub

View File

@@ -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);
}