Update GPS_com.cpp

This commit is contained in:
hdrlux
2023-08-01 19:05:35 +02:00
committed by GitHub
parent 6add396b9f
commit 43a7b6307c

View File

@@ -101,13 +101,11 @@ void GPS_read_seconds() {
}
void GPS_ON() {
if (!gps_on) { // only if NOT on
gps_on = true;
gps_seconds_t = 0; // make shure GPS serial is alive before setting
pulse_count = 0;
Serial.println("GPS: ON"); // debug
}
}
void GPS_OFF() {
if (gps_on) { // only if NOT off