* special case when min_deltas has LPP_GPS value
This commit is contained in:
1 parent
f6cbc11c85
commit
b0fd8e6801
3 files changed
+83
-12
No files matched your search
@@ -162,6 +162,12 @@ public:
|
||||
return size;
|
||||
}
|
||||
|
||||
static uint8_t readGPS(const uint8_t* _buf, float& lat, float& lon, float& alt) {
|
||||
lat = getFloat(&_buf[0], 3, 10000, true);
|
||||
lon = getFloat(&_buf[3], 3, 10000, true);
|
||||
alt = getFloat(&_buf[6], 3, 100, true);
|
||||
return 9;
|
||||
}
|
||||
};
|
||||
|
||||
class LPPReader {
|
||||
|
||||
Reference in new issue
Block a user