@@ -116,11 +116,7 @@ void beginDisplay()
116
116
117
117
systemPrintln (" Display started" );
118
118
119
- // Display the SparkFun LOGO
120
119
oled.erase ();
121
- displayBitmap (0 , 0 , logoSparkFun_Width, logoSparkFun_Height, logoSparkFun);
122
- oled.display ();
123
- splashStart = millis ();
124
120
return ;
125
121
}
126
122
@@ -130,6 +126,18 @@ void beginDisplay()
130
126
systemPrintln (" Display not detected" );
131
127
}
132
128
129
+ // Display the SparkFun logo
130
+ void displaySfeFlame ()
131
+ {
132
+ if (online.display == true )
133
+ {
134
+ oled.erase ();
135
+ displayBitmap (0 , 0 , logoSparkFun_Width, logoSparkFun_Height, logoSparkFun);
136
+ oled.display ();
137
+ splashStart = millis ();
138
+ }
139
+ }
140
+
133
141
// Avoid code repetition
134
142
void displayBatteryVsEthernet ()
135
143
{
@@ -1885,17 +1893,17 @@ void displayNoWiFi(uint16_t displayTime)
1885
1893
1886
1894
void displayNoSSIDs (uint16_t displayTime)
1887
1895
{
1888
- displayMessage (" No SSIDs" , displayTime);
1896
+ displayMessage (" No SSIDs" , displayTime);
1889
1897
}
1890
1898
1891
1899
void displayAccountExpired (uint16_t displayTime)
1892
1900
{
1893
- displayMessage (" Account Expired" , displayTime);
1901
+ displayMessage (" Account Expired" , displayTime);
1894
1902
}
1895
1903
1896
1904
void displayNotListed (uint16_t displayTime)
1897
1905
{
1898
- displayMessage (" Not Listed" , displayTime);
1906
+ displayMessage (" Not Listed" , displayTime);
1899
1907
}
1900
1908
1901
1909
void displayRoverStart (uint16_t displayTime)
@@ -2042,11 +2050,11 @@ void displayWiFiConfig()
2042
2050
snprintf (mySSID, sizeof (mySSID), " %s" , " RTK Config" );
2043
2051
else
2044
2052
{
2045
- if (WiFi.getMode () == WIFI_STA)
2053
+ if (WiFi.getMode () == WIFI_STA)
2046
2054
snprintf (mySSID, sizeof (mySSID), " %s" , WiFi.SSID ().c_str ());
2047
2055
2048
- // If we failed to connect to a friendly WiFi, and then fell back to AP mode, still display RTK Config
2049
- else if (WiFi.getMode () == WIFI_AP)
2056
+ // If we failed to connect to a friendly WiFi, and then fell back to AP mode, still display RTK Config
2057
+ else if (WiFi.getMode () == WIFI_AP)
2050
2058
snprintf (mySSID, sizeof (mySSID), " %s" , " RTK Config" );
2051
2059
2052
2060
else
@@ -2444,7 +2452,7 @@ void paintSystemTest()
2444
2452
else
2445
2453
oled.print (" FAIL" );
2446
2454
} // End display 0
2447
- } // End Facet L-Band testing
2455
+ } // End Facet L-Band testing
2448
2456
}
2449
2457
}
2450
2458
0 commit comments