Skip to content

Commit

Permalink
Fixed Ethernet settings validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMueller2003 committed Mar 11, 2024
1 parent c4f7a70 commit a87adf5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@
</div>
<label class="control-label col-sm-2 esp32" for="addr">PHY MDIO Address</label>
<div class="col-sm-2 esp32">
<input type="number" class="form-control is-valid esp32" id="addr" step="1" min="1"
max="32" value="0" required title="MDC Address for LAN interface">
<input type="number" class="form-control esp32" id="addr" step="1" min="0"
max="1" value="0" required title="MDC Address for LAN interface">
</div>
</div>
<div class="form-group">
Expand All @@ -566,9 +566,9 @@
<option value="3">ETH_CLOCK_GPIO17_OUT</option>
</select>
</div>
<label class="control-label col-sm-2" for="power_pin">Power Control Pin</label>
<div class="col-sm-2">
<input type="number" class="form-control is-valid" id="power_pin" step="1" min="1"
<label class="control-label col-sm-2 esp32" for="power_pin">Power Control Pin</label>
<div class="col-sm-2 esp32">
<input type="number" class="form-control" id="power_pin" step="1" min="-1"
max="32" value="0" required
title="GPIO on which external power will be controlled">
</div>
Expand Down

0 comments on commit a87adf5

Please sign in to comment.