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)) \ while (minmea_isfield(*sentence)) \
{ \ { \
sentence++; \ sentence++; \
/* Make sure there is a field there. */ \ } \
if (*sentence == ',') \ /* Make sure there is a field there. */ \
{ \ if (*sentence == ',') \
sentence++; \ { \
field = sentence; \ sentence++; \
} \ field = sentence; \
else \ } \
{ \ else \
field = NULL; \ { \
} \ field = NULL; \
} \ } \
} \ } \
while (0) while (0)