Update GPS_com.cpp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user