Skip to content

Commit

Permalink
Correct upper limit for rebootMinutes in main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulZC committed May 30, 2024
1 parent 4774333 commit 1d85f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Firmware/RTK_Everywhere/AP-Config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@
<label for="rebootMinutes"
class="box-margin40 col-sm-3 col-7 col-form-label">Minutes between restarts:
<span class="tt" data-bs-placement="right"
title="If automatic restart is enabled, the device will reset after this many minutes have elapsed. Default: 1440 (1 day)">
title="If automatic restart is enabled, the device will reset after this many minutes have elapsed">
<span class="icon-info-circle text-primary ms-2"></span>
</span>
</label>
Expand Down
2 changes: 1 addition & 1 deletion Firmware/RTK_Everywhere/AP-Config/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ function validateFields() {
}

if (ge("enableAutoReset").checked == true) {
checkElementValue("rebootMinutes", 1, 999999, "Must be 1 to 999999", "collapseSystemConfig");
checkElementValue("rebootMinutes", 1, 4294967, "Must be 1 to 4294967", "collapseSystemConfig");
}
else {
clearElement("rebootMinutes", 0); //0 = disable
Expand Down

0 comments on commit 1d85f13

Please sign in to comment.