Explorar o código

Initialize time fields to zero.

Aaron Mavrinac %!s(int64=3) %!d(string=hai) anos
pai
achega
f5dbde55a4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      gps_uart.c

+ 3 - 0
gps_uart.c

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