Skip to content

Commit 3b99a62

Browse files
committed
virtual gnss does not need auto config
1 parent e9a8536 commit 3b99a62

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/js/tabs/gps.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ gps.initialize = async function (callback) {
144144

145145
const ubloxSelected = FC.GPS_CONFIG.provider === gpsProtocols.indexOf("UBLOX");
146146
const mspSelected = FC.GPS_CONFIG.provider === gpsProtocols.indexOf("MSP");
147-
const virtualSelected = FC.GPS_CONFIG.provider === gpsProtocols.indexOf("VIRTUAL");
148147

149148
const enableGalileoVisible = checked && ubloxSelected;
150149
gpsUbloxGalileoGroup.toggle(enableGalileoVisible);
@@ -155,7 +154,7 @@ gps.initialize = async function (callback) {
155154
gpsAutoBaudGroup.toggle(
156155
(ubloxSelected || mspSelected) && semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_46),
157156
);
158-
gpsAutoConfigGroup.toggle(ubloxSelected || mspSelected || virtualSelected);
157+
gpsAutoConfigGroup.toggle(ubloxSelected);
159158
})
160159
.prop("checked", FC.GPS_CONFIG.auto_config === 1)
161160
.trigger("change");

0 commit comments

Comments
 (0)