getSettingsJS: Fix missing DISABLE_INFRARED guard

This commit is contained in:
Will Miles 2024-03-17 15:11:08 -04:00
parent 7c8df97968
commit 6de617ecd5

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