mikalhart / TinyGPSPlus

A new, customizable Arduino NMEA parsing library
http://arduiniana.org
1.1k stars 494 forks source link

fix argument for TinyGPSPlus::cardinal(double) #33

Closed nolanholden closed 7 years ago

nolanholden commented 7 years ago

TinyGPSPlus::cardinal(double x) assumes argument of degrees (i.e. from TinyGPSCourse::deg()). (This example was passing int32_t of milli-degrees from TinyGPSCourse's inherited function TinyGPSDecimal::value().) :smiley:

Thank you for the well-written library and useful examples!

nolanholden commented 7 years ago

Addresses issue #9.

mikalhart commented 7 years ago

Thanks. Fixed with 1.0.0.