File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ gps.initialize = async function (callback) {
156
156
157
157
const ubloxSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "UBLOX" ) ;
158
158
const mspSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "MSP" ) ;
159
- const virtualSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "VIRTUAL" ) ;
160
159
161
160
const enableGalileoVisible = checked && ubloxSelected ;
162
161
gpsUbloxGalileoGroup . toggle ( enableGalileoVisible ) ;
@@ -167,7 +166,7 @@ gps.initialize = async function (callback) {
167
166
gpsAutoBaudGroup . toggle (
168
167
( ubloxSelected || mspSelected ) && semver . lt ( FC . CONFIG . apiVersion , API_VERSION_1_46 ) ,
169
168
) ;
170
- gpsAutoConfigGroup . toggle ( ubloxSelected || mspSelected || virtualSelected ) ;
169
+ gpsAutoConfigGroup . toggle ( ubloxSelected ) ;
171
170
} )
172
171
. prop ( "checked" , FC . GPS_CONFIG . auto_config === 1 )
173
172
. trigger ( "change" ) ;
You can’t perform that action at this time.
0 commit comments