Skip to content

Commit

Permalink
Initialize time fields to zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezod committed Oct 25, 2022
1 parent f088296 commit f5dbde5
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 @@ -167,6 +167,9 @@ GpsUart* gps_uart_enable()
gps_uart->status.altitude_units = ' ';
gps_uart->status.fix_quality = 0;
gps_uart->status.satellites_tracked = 0;
gps_uart->status.time_hours = 0;
gps_uart->status.time_minutes = 0;
gps_uart->status.time_seconds = 0;

gps_uart->notifications = furi_record_open(RECORD_NOTIFICATION);

Expand Down

0 comments on commit f5dbde5

Please sign in to comment.