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 715541b508
commit efabf7403e
1 changed files with 1 additions and 1 deletions

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