@@ -52,7 +52,7 @@ void updateDisplay()
52
52
paintBaseTempCasterConnected ();
53
53
break ;
54
54
case (STATE_BASE_FIXED_NOT_STARTED):
55
- // Do nothing. Static display shown during state change.
55
+ paintBaseFixedNotStarted ();
56
56
break ;
57
57
case (STATE_BASE_FIXED_TRANSMITTING):
58
58
paintBaseFixedTransmitting ();
@@ -69,6 +69,9 @@ void updateDisplay()
69
69
case (STATE_BASE_FIXED_CASTER_CONNECTED):
70
70
paintBaseFixedCasterConnected ();
71
71
break ;
72
+ default :
73
+ displayError ((char *)" Display" );
74
+ break ;
72
75
}
73
76
74
77
oled.display (); // Push internal buffer to display
@@ -546,17 +549,14 @@ void paintBaseTempSurveyStarted()
546
549
547
550
paintBaseState (); // Top center
548
551
549
- float meanAccuracy = i2cGNSS.getSurveyInMeanAccuracy (100 );
550
- int elapsedTime = i2cGNSS.getSurveyInObservationTime (100 );
551
-
552
552
oled.setFontType (0 );
553
553
oled.setCursor (0 , 23 ); // x, y
554
554
oled.print (" Mean:" );
555
555
556
556
oled.setCursor (29 , 20 ); // x, y
557
557
oled.setFontType (1 );
558
- if (meanAccuracy < 10.0 ) // Error check
559
- oled.print (meanAccuracy , 2 );
558
+ if (svinMeanAccuracy < 10.0 ) // Error check
559
+ oled.print (svinMeanAccuracy , 2 );
560
560
else
561
561
oled.print (" >10" );
562
562
@@ -566,8 +566,8 @@ void paintBaseTempSurveyStarted()
566
566
567
567
oled.setCursor (30 , 36 ); // x, y
568
568
oled.setFontType (1 );
569
- if (elapsedTime < 1000 ) // Error check
570
- oled.print (elapsedTime );
569
+ if (svinObservationTime < 1000 ) // Error check
570
+ oled.print (svinObservationTime );
571
571
else
572
572
oled.print (" 0" );
573
573
@@ -738,6 +738,19 @@ void paintBaseTempCasterConnected()
738
738
}
739
739
}
740
740
741
+ // Show transmission of RTCM packets
742
+ void paintBaseFixedNotStarted ()
743
+ {
744
+ if (online.display == true )
745
+ {
746
+ paintBatteryLevel (); // Top right corner
747
+
748
+ paintWirelessIcon (); // Top left corner
749
+
750
+ paintBaseState (); // Top center
751
+ }
752
+ }
753
+
741
754
// Show transmission of RTCM packets
742
755
void paintBaseFixedTransmitting ()
743
756
{
0 commit comments