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