GPS: NMEA bug fix from Alexey Kozin

thanks Alexey!
This commit is contained in:
Andrew Tridgell 2012-09-12 15:04:06 +10:00
parent fba1692d69
commit ba9543ee04

View File

@ -197,7 +197,7 @@ uint32_t AP_GPS_NMEA::_parse_degrees()
{
char *p, *q;
uint8_t deg = 0, min = 0;
uint16_t frac_min = 0;
uint32_t frac_min = 0;
int32_t ret = 0;
// scan for decimal point or end of field