kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fix speed tracking bug
rodzic
c0a972963c
commit
e9f0a46823
|
@ -34,7 +34,6 @@ void gps_taskFunc(char *line, int len, gps_t *state)
|
|||
if (minmea_parse_rmc(&frame, line)) {
|
||||
state->latitude = minmea_tocoord(&frame.latitude);
|
||||
state->longitude = minmea_tocoord(&frame.longitude);
|
||||
state->speed = minmea_tofloat(&frame.speed);
|
||||
state->timestamp.hour = frame.time.hours;
|
||||
state->timestamp.minute = frame.time.minutes;
|
||||
state->timestamp.second = frame.time.seconds;
|
||||
|
|
Ładowanie…
Reference in New Issue