mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:18:52 +08:00
fix unused variable error
This commit is contained in:
committed by
Lorenz Meier
parent
4cf427510e
commit
6f20b9e1df
@@ -423,7 +423,7 @@ protected:
|
||||
struct tm tt;
|
||||
gmtime_r(&gps_time_sec, &tt);
|
||||
char tstamp[22];
|
||||
int tslen = strftime(tstamp, sizeof(tstamp) - 1, "%Y_%m_%d_%H_%M_%S", &tt);
|
||||
strftime(tstamp, sizeof(tstamp) - 1, "%Y_%m_%d_%H_%M_%S", &tt);
|
||||
|
||||
if (_mavlink->get_instance_id() == 0/* && _mavlink->get_logging_enabled()*/) {
|
||||
if (fp != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user