apps/gpsutils: Fix an error min minmea

This commit is contained in:
Aleksandr Vyhovanec 2016-08-24 09:55:23 -06:00 committed by Gregory Nutt
parent 09bcce52fa
commit 3cfd1b5ec7

View File

@ -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)