t.tm_sec = tmr[0] + (ROUND_UP(msec, 1000) / 1000);
t.tm_min = tmr[1];
t.tm_hour = tmr[2];
+ //If we not have refence data, we set as default 1/1/1970.
t.tm_mday = 1;
t.tm_mon = 1;
t.tm_year = 70;
* if the sentence has a callout, call it
*/
if (sentence->callout != 0)
- (*sentence->callout)(context,gsv,context->user_data);
+ (*sentence->callout)(context, gsv, context->user_data);
return NMEA_GPGSV;
}
int c;
while ((c = kfile_getc(channel)) != EOF)
{
- if (nmeap_parse(context, c) == -1)
- break;
+ nmeap_parse(context, c);
}
}