oops lat/lon need to be signed ;-)

This commit is contained in:
geeksville
2020-05-04 11:21:24 -07:00
parent 933d5424da
commit 101eef5495
3 changed files with 12 additions and 12 deletions

View File

@@ -28,8 +28,8 @@ class GPS : public Observable<void *>
static HardwareSerial &_serial_gps;
public:
uint32_t latitude = 0, longitude = 0; // as an int mult by 1e-7 to get value as double
uint32_t altitude = 0;
int32_t latitude = 0, longitude = 0; // as an int mult by 1e-7 to get value as double
int32_t altitude = 0;
bool isConnected = false; // Do we have a GPS we are talking to
virtual ~GPS() {}