Update GPS_com.cpp
This commit is contained in:
10
GPS_com.cpp
10
GPS_com.cpp
@@ -101,12 +101,10 @@ 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
|
||||
}
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user