Also, there were two instances of "if(this->text_cycles>GPS_TEXT_MAXCOPIES)" that needed fixing.

This commit is contained in:
Kragg Malak
2023-12-13 19:18:08 -07:00
parent 4868b698ce
commit 6564e269e3

View File

@@ -158,7 +158,7 @@ void GpsInterface::enqueue(MicroNMEA& nmea){
if(size>=5){
#endif
#ifdef GPS_TEXT_MAXCOPIES
if(this->text_cycles>GPS_TEXT_MAXCOPIES){
if(this->text_cycles>=GPS_TEXT_MAXCOPIES){
#else
if(this->text_cycles){
#endif