From 50abddc69181f3b83fb3dbea4d9c0461abee0c76 Mon Sep 17 00:00:00 2001 From: Rick Sellens Date: Thu, 30 Jan 2020 20:14:52 -0500 Subject: [PATCH] comments to solve: https://github.com/adafruit/Adafruit_GPS/issues/76 Corrections to original comments that were off by a factor of 10. --- src/Adafruit_GPS.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Adafruit_GPS.h b/src/Adafruit_GPS.h index acfc316..bf190b4 100644 --- a/src/Adafruit_GPS.h +++ b/src/Adafruit_GPS.h @@ -170,11 +170,12 @@ public: ///< as received from the GPS (DDDMM.MMMM) /** Fixed point latitude and longitude value with degrees stored in units of - 1/100000 degrees, and minutes stored in units of 1/100000 degrees. See pull - #13 for more details: + 1/10000000 of a degree. See pull #13 for more details: https://github.com/adafruit/Adafruit-GPS-Library/pull/13 */ - int32_t latitude_fixed; ///< Fixed point latitude in decimal degrees + int32_t latitude_fixed; ///< Fixed point latitude in decimal degrees. + ///< Divide by 10000000.0 to get a double. int32_t longitude_fixed; ///< Fixed point longitude in decimal degrees + ///< Divide by 10000000.0 to get a double. nmea_float_t latitudeDegrees; ///< Latitude in decimal degrees nmea_float_t longitudeDegrees; ///< Longitude in decimal degrees