Skip to content

Commit

Permalink
Merge pull request #3831 from willmmiles/missing-ir-disable
Browse files Browse the repository at this point in the history
getSettingsJS: Fix missing DISABLE_INFRARED guard
  • Loading branch information
blazoncek authored Mar 18, 2024
2 parents 7c8df97 + 6de617e commit 6110b72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wled00/xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 6110b72

Please sign in to comment.