Fix speed tracking bug

replace/8d4faec26b6418dd911a22c0de6104dbfa5221e4
Niccolò Izzo 2021-02-15 07:40:21 +01:00
rodzic c0a972963c
commit e9f0a46823
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -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;