diff --git a/src/NMEAGPS_cfg.h b/src/NMEAGPS_cfg.h index cf497b4..5e67182 100644 --- a/src/NMEAGPS_cfg.h +++ b/src/NMEAGPS_cfg.h @@ -45,7 +45,9 @@ // to determine when the GPS quiet time begins, and thus // when you can perform "some" time-consuming operations. +#ifndef LAST_SENTENCE_IN_INTERVAL #define LAST_SENTENCE_IN_INTERVAL NMEAGPS::NMEA_RMC +#endif // NOTE: For PUBX-only, PGRM and UBX configs, use // (NMEAGPS::nmea_msg_t)(NMEAGPS::NMEA_LAST_MSG+1) @@ -339,4 +341,4 @@ #error You cannot enable both TIMESTAMP_FROM_INTERVAL and PPS in NMEAGPS_cfg.h! #endif -#endif \ No newline at end of file +#endif