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