Skip to content

Commit 67c19a7

Browse files
committed
Add up/down arrows for cellular communication
1 parent b202ff9 commit 67c19a7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Firmware/RTK_Everywhere/Display.ino

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,36 @@ void setRadioIcons(std::vector<iconPropertyBlinking> *iconList)
853853
}
854854
#endif // COMPILE_WIFI
855855

856+
#ifdef COMPILE_CELLULAR
857+
if (networkIsInterfaceOnline(NETWORK_CELLULAR))
858+
{
859+
if (netIncomingRTCM == true) // Download : Columns 74 - 81
860+
{
861+
iconPropertyBlinking prop;
862+
prop.icon = DownloadArrow128x64;
863+
prop.duty = 0b11111111;
864+
iconList->push_back(prop);
865+
netIncomingRTCM = false;
866+
}
867+
if (mqttClientDataReceived == true) // Download : Columns 74 - 81
868+
{
869+
iconPropertyBlinking prop;
870+
prop.icon = DownloadArrow128x64;
871+
prop.duty = 0b11111111;
872+
iconList->push_back(prop);
873+
mqttClientDataReceived = false;
874+
}
875+
if (netOutgoingRTCM == true) // Upload : Columns 83 - 90
876+
{
877+
iconPropertyBlinking prop;
878+
prop.icon = UploadArrow128x64;
879+
prop.duty = 0b11111111;
880+
iconList->push_back(prop);
881+
netOutgoingRTCM = false;
882+
}
883+
}
884+
#endif // COMPILE_CELLULAR
885+
856886
switch (systemState) // Dynamic Model / Base : Columns 92 - 106
857887
{
858888
case (STATE_ROVER_NO_FIX):

0 commit comments

Comments
 (0)