Skip to content

Commit c2263a2

Browse files
committed
Web config : handle enableExtCorrRadio
1 parent 0d2877c commit c2263a2

File tree

1 file changed

+10
-0
lines changed
  • Firmware/RTK_Everywhere/AP-Config/src

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,16 @@ function parseIncoming(msg) {
661661
ge("antennaHeight_m").value = val / 1000.0;
662662
}
663663

664+
//enableExtCorrRadio should be bool but is sent as uint8_t because it _could_ be 254
665+
else if (id.includes("enableExtCorrRadio")) {
666+
if (val == 0) {
667+
ge(id).checked = false;
668+
}
669+
else {
670+
ge(id).checked = true;
671+
}
672+
}
673+
664674
//Check boxes / radio buttons
665675
else if (val == "true") {
666676
try {

0 commit comments

Comments
 (0)