mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00: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