Skip to content

Commit 1e4b820

Browse files
committed
Handle connection to NTRIP caster
1 parent 66ba9e7 commit 1e4b820

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void updateDisplay()
173173
icons = paintWirelessIcon() //Top left
174174
| ICON_BASE_TEMPORARY //Top center
175175
| ICON_BATTERY; //Top right
176-
paintBaseTempCasterStarted();
176+
paintConnectingToNtripCaster();
177177
break;
178178
case (STATE_BASE_TEMP_CASTER_CONNECTED):
179179
icons = paintWirelessIcon() //Top left
@@ -211,7 +211,7 @@ void updateDisplay()
211211
icons = paintWirelessIcon() //Top left
212212
| ICON_BASE_FIXED //Top center
213213
| ICON_BATTERY; //Top right
214-
paintBaseFixedCasterStarted();
214+
paintConnectingToNtripCaster();
215215
break;
216216
case (STATE_BASE_FIXED_CASTER_CONNECTED):
217217
icons = paintWirelessIcon() //Top left
@@ -754,27 +754,8 @@ void paintCastingRTCM()
754754
paintResets();
755755
}
756756

757-
//Show connecting to caster service
758-
//Solid WiFi icon
759-
void paintBaseTempCasterStarted()
760-
{
761-
int textX = 11;
762-
int textY = 17;
763-
int textKerning = 8;
764-
765-
printTextwithKerning("Caster", textX, textY, textKerning);
766-
767-
textX = 3;
768-
textY = 33;
769-
textKerning = 6;
770-
oled.setFont(QW_FONT_8X16);
771-
772-
printTextwithKerning("Connecting", textX, textY, textKerning);
773-
}
774-
775-
//Show connecting to caster service
776-
//Solid WiFi icon
777-
void paintBaseFixedCasterStarted()
757+
//Show connecting to NTRIP caster service
758+
void paintConnectingToNtripCaster()
778759
{
779760
int textX = 11;
780761
int textY = 18;

0 commit comments

Comments
 (0)