Skip to content

Commit

Permalink
additional info in case that IR support is disabled
Browse files Browse the repository at this point in the history
similar to other "not compiled into this firmware" messages.
  • Loading branch information
softhack007 committed Nov 7, 2022
1 parent 4b5627a commit 217ab27
Show file tree
Hide file tree
Showing 3 changed files with 477 additions and 465 deletions.
4 changes: 4 additions & 0 deletions wled00/data/settings_leds.htm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
function H(){window.open("https://kno.wled.ge/features/settings/#led-settings");}
function B(){window.open("/settings","_self");}
function gId(n){return d.getElementById(n);}
function hideNoIR(){gId("irOnOff2").style.display="none";}
function off(n){d.getElementsByName(n)[0].value = -1;}
// https://www.educative.io/edpresso/how-to-dynamically-load-a-js-file-in-javascript
function loadJS(FILE_URL, async = true) {
Expand Down Expand Up @@ -618,6 +619,9 @@ <h3>Hardware setup</h3>
<hr style="width:260px">
<div id="btns"></div>
Touch threshold: <input type="number" class="s" min="0" max="100" name="TT" required><br>
<div id="irOnOff2">
<em style="color:darkorange">This firmware build does not include IR Remote support. <br></em>
</div>
IR GPIO: <input type="number" min="-1" max="48" name="IR" onchange="UI()" class="xs"><select name="IT" onchange="UI()">
<option value=0>Remote disabled</option>
<option value=1>24-key RGB</option>
Expand Down
Loading

0 comments on commit 217ab27

Please sign in to comment.