Skip to content

Commit f5dbde5

Browse files
committed
Initialize time fields to zero.
1 parent f088296 commit f5dbde5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gps_uart.c

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ GpsUart* gps_uart_enable()
167167
gps_uart->status.altitude_units = ' ';
168168
gps_uart->status.fix_quality = 0;
169169
gps_uart->status.satellites_tracked = 0;
170+
gps_uart->status.time_hours = 0;
171+
gps_uart->status.time_minutes = 0;
172+
gps_uart->status.time_seconds = 0;
170173

171174
gps_uart->notifications = furi_record_open(RECORD_NOTIFICATION);
172175

0 commit comments

Comments
 (0)