瀏覽代碼

Initialize time fields to zero.

Aaron Mavrinac 3 年之前
父節點
當前提交
f5dbde55a4
共有 1 個文件被更改,包括 3 次插入0 次删除
  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);