Skip to content

Commit f22be55

Browse files
committed
Fix profile number validation in WiFi Config
1 parent d9bf85c commit f22be55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Firmware/RTK_Surveyor/AP-Config/src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function validateFields() {
208208
errorCount = 0;
209209

210210
//Profile Config
211-
checkElementValue("profileNumber", 1, 4, "Must be between 1 and 4", "collapseProfileConfig");
211+
checkElementValue("profileNumber", 1, 8, "Must be between 1 and 8", "collapseProfileConfig");
212212
checkElementString("profileName", 1, 49, "Must be 1 to 49 characters", "collapseProfileConfig");
213213

214214
//GNSS Config

Firmware/RTK_Surveyor/form.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function validateFields() {
231231
errorCount = 0;
232232

233233
//Profile Config
234-
checkElementValue("profileNumber", 1, 4, "Must be between 1 and 4", "collapseProfileConfig");
234+
checkElementValue("profileNumber", 1, 8, "Must be between 1 and 8", "collapseProfileConfig");
235235
checkElementString("profileName", 1, 49, "Must be 1 to 49 characters", "collapseProfileConfig");
236236

237237
//GNSS Config

0 commit comments

Comments
 (0)