@@ -654,9 +654,9 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
654
654
655
655
// Count the number of radios in use
656
656
uint8_t numberOfRadios = 1 ; // Bluetooth always indicated. TODO don't count if BT radio type is OFF.
657
- if (wifiIsRunning ())
657
+ if (WIFI_IS_RUNNING ())
658
658
numberOfRadios++;
659
- if (espnowState > ESPNOW_OFF)
659
+ if (espnowGetState () > ESPNOW_OFF)
660
660
numberOfRadios++;
661
661
662
662
// Bluetooth only
@@ -671,9 +671,9 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
671
671
setBluetoothIcon_TwoRadios (iconList);
672
672
673
673
// Do we have WiFi or ESP
674
- if (wifiIsRunning ())
674
+ if (WIFI_IS_RUNNING ())
675
675
setWiFiIcon_TwoRadios (iconList);
676
- else if (espnowState > ESPNOW_OFF)
676
+ else if (espnowGetState () > ESPNOW_OFF)
677
677
setESPNowIcon_TwoRadios (iconList);
678
678
679
679
setModeIcon (iconList); // Turn on Rover/Base type icons
@@ -706,7 +706,7 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
706
706
iconList->push_back (prop);
707
707
}
708
708
709
- if (wifiIsRunning ()) // WiFi : Columns 34 - 46
709
+ if (WIFI_IS_RUNNING ()) // WiFi : Columns 34 - 46
710
710
{
711
711
#ifdef COMPILE_WIFI
712
712
int wifiRSSI = WiFi.RSSI ();
@@ -753,7 +753,7 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
753
753
}
754
754
#endif // /COMPILE_CELLULAR
755
755
756
- if (espnowState == ESPNOW_PAIRED) // ESPNOW : Columns 64 - 71
756
+ if (espnowGetState () == ESPNOW_PAIRED) // ESPNOW : Columns 64 - 71
757
757
{
758
758
iconPropertyBlinking prop;
759
759
prop.duty = 0b11111111 ;
@@ -792,7 +792,7 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
792
792
}
793
793
}
794
794
795
- if (espnowState == ESPNOW_PAIRED)
795
+ if (espnowGetState () == ESPNOW_PAIRED)
796
796
{
797
797
if (espnowIncomingRTCM == true ) // Download : Columns 74 - 81
798
798
{
@@ -1023,7 +1023,7 @@ void setBluetoothIcon_TwoRadios(std::vector<iconPropertyBlinking> *iconList)
1023
1023
// This is 64x48-specific
1024
1024
void setESPNowIcon_TwoRadios (std::vector<iconPropertyBlinking> *iconList)
1025
1025
{
1026
- if (espnowState == ESPNOW_PAIRED)
1026
+ if (espnowGetState () == ESPNOW_PAIRED)
1027
1027
{
1028
1028
if (espnowIncomingRTCM == true || espnowOutgoingRTCM == true )
1029
1029
{
0 commit comments