@@ -862,30 +862,16 @@ function saveConfig() {
862
862
}
863
863
864
864
function checkConstellations ( ) {
865
- if ( ( platformPrefix == "EVK" ) || ( platformPrefix == "Facet v2" ) ) {
866
- if ( ( ge ( "ubxConstellation_GPS" ) . checked == false )
867
- && ( ge ( "ubxConstellation_Galileo" ) . checked == false )
868
- && ( ge ( "ubxConstellation_BeiDou" ) . checked == false )
869
- && ( ge ( "ubxConstellation_GLONASS" ) . checked == false ) ) {
870
- ge ( "collapseGNSSConfig" ) . classList . add ( 'show' ) ;
871
- showError ( 'gnssConstellations' , "Please choose one constellation" ) ;
872
- errorCount ++ ;
873
- }
874
- else
875
- clearError ( "gnssConstellations" ) ;
876
- }
877
- if ( platformPrefix == "Torch" ) {
878
- if ( ( ge ( "constellation_GPS" ) . checked == false )
879
- && ( ge ( "constellation_Galileo" ) . checked == false )
880
- && ( ge ( "constellation_BeiDou" ) . checked == false )
881
- && ( ge ( "constellation_GLONASS" ) . checked == false ) ) {
882
- ge ( "collapseGNSSConfig" ) . classList . add ( 'show' ) ;
883
- showError ( 'gnssConstellations' , "Please choose one constellation" ) ;
884
- errorCount ++ ;
885
- }
886
- else
887
- clearError ( "gnssConstellations" ) ;
865
+ if ( ( ge ( "constellation_GPS" ) . checked == false )
866
+ && ( ge ( "constellation_Galileo" ) . checked == false )
867
+ && ( ge ( "constellation_BeiDou" ) . checked == false )
868
+ && ( ge ( "constellation_GLONASS" ) . checked == false ) ) {
869
+ ge ( "collapseGNSSConfig" ) . classList . add ( 'show' ) ;
870
+ showError ( 'gnssConstellations' , "Please choose one constellation" ) ;
871
+ errorCount ++ ;
888
872
}
873
+ else
874
+ clearError ( "gnssConstellations" ) ;
889
875
}
890
876
891
877
function checkBitMapValue ( id , min , max , bitMap , errorText , collapseID ) {
0 commit comments