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()
1089
1089
// We should really restructure things so we use online.corrections...
1090
1090
if (settings.enablePointPerfectCorrections )
1091
1091
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;
1092
1097
}
1093
1098
else if (productVariant == RTK_FACET_MOSAIC)
1094
1099
{
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ void menuEthernet()
116
116
{
117
117
// Toggle the network type
118
118
settings.defaultNetworkType += 1 ;
119
- if (settings.defaultNetworkType > NETWORK_TYPE_USE_DEFAULT )
119
+ if (settings.defaultNetworkType >= NETWORK_TYPE_MAX )
120
120
settings.defaultNetworkType = 0 ;
121
121
}
122
122
else if (incoming == ' f' )
You can’t perform that action at this time.
0 commit comments