From e9168b370a6c52cbe6ad3d2c4e807e83f38e9c92 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Tue, 16 Jul 2019 01:24:02 -0700 Subject: [PATCH] allow user-defined LAST_SENTENCE_IN_INTERVAL when building --- src/NMEAGPS_cfg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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