We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397a8f1 commit 5b74829Copy full SHA for 5b74829
gps_uart.c
@@ -77,6 +77,21 @@ static void gps_uart_parse_nmea(GpsUart* gps_uart, char* line)
77
}
78
} break;
79
80
+ case MINMEA_SENTENCE_GLL:
81
+ {
82
+ struct minmea_sentence_gll frame;
83
+ if (minmea_parse_gll(&frame, line))
84
85
+ gps_uart->status.latitude = minmea_tocoord(&frame.latitude);
86
+ gps_uart->status.longitude = minmea_tocoord(&frame.longitude);
87
+ gps_uart->status.time_hours = frame.time.hours;
88
+ gps_uart->status.time_minutes = frame.time.minutes;
89
+ gps_uart->status.time_seconds = frame.time.seconds;
90
+
91
+ notification_message_block(gps_uart->notifications, &sequence_blink_red_10);
92
+ }
93
+ } break;
94
95
default:
96
break;
97
0 commit comments