File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ static void wifiConnectedActions() {
729
729
if (WiFiClass::status () == WL_CONNECTED) {
730
730
TimeUtils::setClockByNtpAndWait (WiFi.gatewayIP ().toString ().c_str ());
731
731
}
732
- if (SD.begin () && WiFiClass::status () == WL_CONNECTED) {
732
+ if (SD.begin () && WiFiClass::status () == WL_CONNECTED && gps. is_neo6 () ) {
733
733
AlpData::update (obsDisplay);
734
734
}
735
735
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ class Gps {
113
113
114
114
void coldStartGps ();
115
115
116
+ bool is_neo6 () const ;
117
+ bool is_neo8 () const ;
118
+ bool is_neo10 () const ;
116
119
117
120
private:
118
121
/* ALP msgs up to 0x16A seen might be more? */
@@ -584,9 +587,7 @@ class Gps {
584
587
bool encode (uint8_t data);
585
588
586
589
bool setBaud ();
587
- bool is_neo6 () const ;
588
- bool is_neo8 () const ;
589
- bool is_neo10 () const ;
590
+
590
591
String hw () const ;
591
592
592
593
bool checkCommunication ();
You can’t perform that action at this time.
0 commit comments