Skip to content

Commit 6666507

Browse files
committed
Hide portsConfig on Torch & EVK
1 parent 1dc5ff7 commit 6666507

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Firmware/RTK_Everywhere/AP-Config/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@
11961196

11971197
<!-- --------- Ports Config --------- -->
11981198
<div class="d-grid gap-2">
1199-
<button class="btn btn-primary mt-3 toggle-btn" type="button" data-toggle="collapse"
1199+
<button class="btn btn-primary mt-3 toggle-btn" id="portsConfig" type="button" data-toggle="collapse"
12001200
data-target="#collapsePortsConfig" aria-expanded="false" aria-controls="collapsePortsConfig">
12011201
Ports Configuration <i id="portsCaret" class="caret-icon bi icon-caret-down"></i>
12021202
</button>

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,27 +104,31 @@ function parseIncoming(msg) {
104104
show("ethernetConfig");
105105
show("ntpConfig");
106106
hide("tiltCompensationSettings");
107+
hide("portsConfig");
107108
}
108109
else if (platformPrefix == "Facet v2") {
109110
show("baseConfig");
110111
show("ppConfig");
111112
hide("ethernetConfig");
112113
hide("ntpConfig");
113114
hide("tiltCompensationSettings");
115+
show("portsConfig");
114116
}
115117
else if (platformPrefix == "Facet mosaic") {
116118
show("baseConfig");
117119
show("ppConfig");
118120
hide("ethernetConfig");
119121
hide("ntpConfig");
120122
hide("tiltCompensationSettings");
123+
show("portsConfig");
121124
}
122125
else if (platformPrefix == "Torch") {
123126
show("baseConfig");
124127
show("ppConfig");
125128
hide("ethernetConfig");
126129
hide("ntpConfig");
127130
show("tiltCompensationSettings");
131+
hide("portsConfig");
128132

129133
select = ge("dynamicModel");
130134
let newOption = new Option('Survey', '0');

0 commit comments

Comments
 (0)