File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1089,6 +1089,11 @@ void beginSystemState()
10891089 // We should really restructure things so we use online.corrections...
10901090 if (settings.enablePointPerfectCorrections )
10911091 systemState = STATE_KEYS_STARTED;
1092+
1093+ // Explicitly set the default network type to avoid printing 'Hardware default'
1094+ // https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/issues/360
1095+ if (settings.defaultNetworkType == NETWORK_TYPE_USE_DEFAULT)
1096+ settings.defaultNetworkType = NETWORK_TYPE_ETHERNET;
10921097 }
10931098 else if (productVariant == RTK_FACET_MOSAIC)
10941099 {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ void menuEthernet()
116116 {
117117 // Toggle the network type
118118 settings.defaultNetworkType += 1 ;
119- if (settings.defaultNetworkType > NETWORK_TYPE_USE_DEFAULT )
119+ if (settings.defaultNetworkType >= NETWORK_TYPE_MAX )
120120 settings.defaultNetworkType = 0 ;
121121 }
122122 else if (incoming == ' f' )
You can’t perform that action at this time.
0 commit comments