forked from Archive/PX4-Autopilot
sdlog2.c param metadata
This commit is contained in:
parent
e43751c219
commit
0042c8ed12
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue