mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-22 23:26:45 -08:00
Minor fixes, nothing impactful left to do for this PR.
This commit is contained in:
@@ -36,7 +36,8 @@ void GpsInterface::begin() {
|
||||
Serial2.read();
|
||||
}
|
||||
|
||||
this->flush_queue(); //init the queue, kill NULLs
|
||||
this->type_flag=GPSTYPE_NATIVE; //enforce default
|
||||
this->disable_queue(); //init the queue, disabled, kill NULLs
|
||||
|
||||
nmea.setUnknownSentenceHandler(gps_nmea_notimp);
|
||||
}
|
||||
@@ -225,8 +226,8 @@ void GpsInterface::enable_queue(){
|
||||
}
|
||||
|
||||
void GpsInterface::disable_queue(){
|
||||
this->flush_queue();
|
||||
this->queue_enabled_flag=0;
|
||||
this->flush_queue();
|
||||
}
|
||||
|
||||
bool GpsInterface::queue_enabled(){
|
||||
|
||||
Reference in New Issue
Block a user