This commit is contained in:
Степанов Станислав 2025-03-26 17:19:25 +03:00
parent 452dcce004
commit 33f4d048e9
1 changed files with 4 additions and 0 deletions

View File

@ -29,7 +29,11 @@
#define Nmea0183SkipToStartDelimiter(STR, STR_END) Nmea0183SkipToChar(STR,STR_END,Nmea0183StartDelimiter)
#define Nmea0183SkipToCheckSumDelimiter(STR, STR_END) Nmea0183SkipToChar(STR,STR_END,Nmea0183CheckSumDelimiter)
#define NmeaParsePrepare char *end = Nmea0183SkipToCheckSumDelimiter(str, str + len);\
char *front = str;\
char *nextDivider = front - 1;
#define NmeaSkipToNextPortion Nmea0183ParseNextPortion(&front, &nextDivider, end);
#define NMEA_ASSERT(x) if(!(x)){return 0;};