From efabf7403e337daddac77bbccd61de76dc850c29 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Sep 2012 15:04:06 +1000 Subject: [PATCH] GPS: NMEA bug fix from Alexey Kozin thanks Alexey! --- libraries/AP_GPS/AP_GPS_NMEA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_GPS/AP_GPS_NMEA.cpp b/libraries/AP_GPS/AP_GPS_NMEA.cpp index 9fa40044c5..16fa18db38 100644 --- a/libraries/AP_GPS/AP_GPS_NMEA.cpp +++ b/libraries/AP_GPS/AP_GPS_NMEA.cpp @@ -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