kopia lustrzana https://github.com/Aircoookie/WLED
getSettingsJS: Fix missing DISABLE_INFRARED guard
rodzic
7c8df97968
commit
6de617ecd5
|
@ -471,8 +471,10 @@ void getSettingsJS(byte subPage, char* dest)
|
||||||
}
|
}
|
||||||
sappend('c',SET_F("IP"),disablePullUp);
|
sappend('c',SET_F("IP"),disablePullUp);
|
||||||
sappend('v',SET_F("TT"),touchThreshold);
|
sappend('v',SET_F("TT"),touchThreshold);
|
||||||
|
#ifndef WLED_DISABLE_INFRARED
|
||||||
sappend('v',SET_F("IR"),irPin);
|
sappend('v',SET_F("IR"),irPin);
|
||||||
sappend('v',SET_F("IT"),irEnabled);
|
sappend('v',SET_F("IT"),irEnabled);
|
||||||
|
#endif
|
||||||
sappend('c',SET_F("MSO"),!irApplyToAllSelected);
|
sappend('c',SET_F("MSO"),!irApplyToAllSelected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue