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 @@ -144,7 +144,6 @@ gps.initialize = async function (callback) {
144
144
145
145
const ubloxSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "UBLOX" ) ;
146
146
const mspSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "MSP" ) ;
147
- const virtualSelected = FC . GPS_CONFIG . provider === gpsProtocols . indexOf ( "VIRTUAL" ) ;
148
147
149
148
const enableGalileoVisible = checked && ubloxSelected ;
150
149
gpsUbloxGalileoGroup . toggle ( enableGalileoVisible ) ;
@@ -155,7 +154,7 @@ gps.initialize = async function (callback) {
155
154
gpsAutoBaudGroup . toggle (
156
155
( ubloxSelected || mspSelected ) && semver . lt ( FC . CONFIG . apiVersion , API_VERSION_1_46 ) ,
157
156
) ;
158
- gpsAutoConfigGroup . toggle ( ubloxSelected || mspSelected || virtualSelected ) ;
157
+ gpsAutoConfigGroup . toggle ( ubloxSelected ) ;
159
158
} )
160
159
. prop ( "checked" , FC . GPS_CONFIG . auto_config === 1 )
161
160
. trigger ( "change" ) ;
You can’t perform that action at this time.
0 commit comments