apps/gpsutils: Fix an error min minmea
This commit is contained in:
parent
09bcce52fa
commit
3cfd1b5ec7
@ -197,6 +197,7 @@ bool minmea_scan(FAR const char *sentence, FAR const char *format, ...)
|
|||||||
while (minmea_isfield(*sentence)) \
|
while (minmea_isfield(*sentence)) \
|
||||||
{ \
|
{ \
|
||||||
sentence++; \
|
sentence++; \
|
||||||
|
} \
|
||||||
/* Make sure there is a field there. */ \
|
/* Make sure there is a field there. */ \
|
||||||
if (*sentence == ',') \
|
if (*sentence == ',') \
|
||||||
{ \
|
{ \
|
||||||
@ -208,7 +209,6 @@ bool minmea_scan(FAR const char *sentence, FAR const char *format, ...)
|
|||||||
field = NULL; \
|
field = NULL; \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
} \
|
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
while (*format)
|
while (*format)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user