File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -1366,7 +1366,7 @@ bool networkIsHighestPriority(NetIndex_t index)
1366
1366
// Determine if the specified interface has higher priority
1367
1367
higherPriority = (priority == NETWORK_OFFLINE);
1368
1368
if (!higherPriority)
1369
- higherPriority = (priority > networkPriorityTable[index]);
1369
+ higherPriority = (priority >= networkPriorityTable[index]);
1370
1370
return higherPriority;
1371
1371
}
1372
1372
@@ -1528,7 +1528,7 @@ void networkPrintStatus(uint8_t priority)
1528
1528
{
1529
1529
NetMask_t bitMask;
1530
1530
NETCONSUMER_MASK_t consumerMask;
1531
- NETCONSUMER_t consumers;
1531
+ NETCONSUMER_MASK_t consumers;
1532
1532
bool highestPriority;
1533
1533
int index;
1534
1534
const char *name;
Original file line number Diff line number Diff line change @@ -8,13 +8,6 @@ void terminalUpdate()
8
8
static bool passRtcmToGnss;
9
9
static uint32_t rtcmTimer;
10
10
11
- // Determine which items are periodically displayed
12
- if ((millis () - lastPeriodicDisplay) >= settings.periodicDisplayInterval )
13
- {
14
- lastPeriodicDisplay = millis ();
15
- periodicDisplay = settings.periodicDisplay ;
16
- }
17
-
18
11
// Check for USB serial input
19
12
if (systemAvailable ())
20
13
{
You can’t perform that action at this time.
0 commit comments