gnss_uorb.c: update upper->parsebuffer every new line

When the last data sent by the driver does not contain \n\r,
it will cause a GAA parsing error

Signed-off-by: chenzihan1 <chenzihan1@xiaomi.com>
This commit is contained in:
chenzihan1
2025-08-09 14:58:16 +08:00
committed by Alan C. Assis
parent daf5715810
commit 258e81f248
+1
View File
@@ -595,6 +595,7 @@ static void gnss_parse(FAR struct gnss_upperhalf_s *upper,
{
if (*buffer == '$')
{
upper->parsenext = 0;
newline = true;
}