sdlog2.c param metadata

This commit is contained in:
Daniel Agar 2016-05-13 20:25:31 -04:00
parent e43751c219
commit 0042c8ed12
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ bool get_log_time_tt(struct tm *tt, bool boot_time) {
struct timespec ts;
px4_clock_gettime(CLOCK_REALTIME, &ts);
/* use RTC time for log file naming, e.g. /fs/microsd/2014-01-19/19_37_52.px4log */
time_t utc_time_sec;
time_t utc_time_sec = 0;
if (_gpstime_only && has_gps_3d_fix) {
utc_time_sec = gps_time_sec;