Skip to content

Commit

Permalink
Properly initialize gps_uart struct members.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezod committed Oct 15, 2023
1 parent 565e93b commit bdff18e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gps_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ GpsUart* gps_uart_enable() {
gps_uart->notifications = furi_record_open(RECORD_NOTIFICATION);

gps_uart->baudrate = gps_baudrates[current_gps_baudrate];
gps_uart->changing_baudrate = false;
gps_uart->backlight_on = false;
gps_uart->speed_units = KNOTS;

gps_uart_init_thread(gps_uart);

Expand Down

0 comments on commit bdff18e

Please sign in to comment.