I'm using the library with a GY-NEO6MV2 and ESP32, and I got an issue.
My GPS is set to 5Hz sample rate, and when I get the time.microseconds, it overflows the value.
I changed the scale value from 1000000 to 100 and it worked.
Follow the code of minmea.c
`
if (*field++ == '.') {
int value = 0;
//int scale = 1000000;
int scale = 100;
while (isdigit((unsigned char) *field) && scale > 1)
{
value = (value * 10) + (*field++ - '0');
scale /= 10;
}
u = value * scale;
} else {
u = 0;
}
Hi,
I'm using the library with a GY-NEO6MV2 and ESP32, and I got an issue. My GPS is set to 5Hz sample rate, and when I get the time.microseconds, it overflows the value. I changed the scale value from 1000000 to 100 and it worked. Follow the code of minmea.c `
`