Skip to content

Commit 3ba9a2a

Browse files
committed
Blink temp flag before survey starts.
1 parent adeda0a commit 3ba9a2a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Firmware/RTK_Surveyor/Display.ino

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,9 @@ void paintBaseState()
292292
{
293293
oled.drawIcon(27, 3, Rover_Width, Rover_Height, Rover, sizeof(Rover), true);
294294
}
295-
else if (systemState == STATE_BASE_TEMP_SURVEY_NOT_STARTED)
296-
{
297-
//Turn on base icon solid (blink crosshair in paintHorzAcc)
298-
oled.drawIcon(27, 0, BaseTemporary_Width, BaseTemporary_Height, BaseTemporary, sizeof(BaseTemporary), true); //true - blend with other pixels
299-
}
300-
else if (systemState == STATE_BASE_TEMP_SURVEY_STARTED)
295+
else if (systemState == STATE_BASE_TEMP_SURVEY_STARTED ||
296+
systemState == STATE_BASE_TEMP_SURVEY_NOT_STARTED //Turn on base icon solid (blink crosshair in paintHorzAcc)
297+
)
301298
{
302299
//Blink base icon until survey is complete
303300
if (millis() - lastBaseIconUpdate > 500)
@@ -555,7 +552,7 @@ void paintBaseTempTransmitting()
555552
oled.setCursor(30, 36); //x, y - Give space for two digits
556553
else
557554
oled.setCursor(28, 36); //x, y - Push towards colon to make room for log icon
558-
555+
559556
oled.setFontType(1); //Set font to type 1: 8x16
560557
oled.print(rtcmPacketsSent); //rtcmPacketsSent is controlled in processRTCM()
561558

0 commit comments

Comments
 (0)