From 840d160048a4bff200faa641b46844e5070fbdbd Mon Sep 17 00:00:00 2001 From: kayden <1283289071.qq.com> Date: Sat, 15 Nov 2025 09:50:09 +0800 Subject: [PATCH] When the altitude is high, the length of the GGA sentence will exceed the original length of MINMEA_MAX_SENTENCE_LENGTH by 80. example.c will fail to parse the GGA sentence. Change the default length of MINMEA_MAX_SENTENCE_LENGTH to 256. --- minmea.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minmea.h b/minmea.h index c23f777..e9a9e16 100644 --- a/minmea.h +++ b/minmea.h @@ -23,7 +23,7 @@ extern "C" { #endif #ifndef MINMEA_MAX_SENTENCE_LENGTH -#define MINMEA_MAX_SENTENCE_LENGTH 80 +#define MINMEA_MAX_SENTENCE_LENGTH 256 #endif enum minmea_sentence_id {