Corrections to original comments that were off by a factor of 10.
This commit is contained in:
Rick Sellens 2020-01-30 20:14:52 -05:00
parent d0f7f47dc9
commit 50abddc691
1 changed files with 4 additions and 3 deletions

View File

@ -170,11 +170,12 @@ public:
///< as received from the GPS (DDDMM.MMMM) ///< as received from the GPS (DDDMM.MMMM)
/** Fixed point latitude and longitude value with degrees stored in units of /** 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 1/10000000 of a degree. See pull #13 for more details:
#13 for more details:
https://github.com/adafruit/Adafruit-GPS-Library/pull/13 */ 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 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 latitudeDegrees; ///< Latitude in decimal degrees
nmea_float_t longitudeDegrees; ///< Longitude in decimal degrees nmea_float_t longitudeDegrees; ///< Longitude in decimal degrees