mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 19:13:33 +08:00
logger: create _vehicle_status_sub & _parameter_update_sub on stack
Since it's only used in run().
This commit is contained in:
@@ -128,8 +128,6 @@ private:
|
||||
|
||||
bool _task_should_exit = true;
|
||||
char _log_dir[64];
|
||||
uORB::Subscription<vehicle_status_s> *_vehicle_status_sub = nullptr;
|
||||
uORB::Subscription<parameter_update_s> *_parameter_update_sub = nullptr;
|
||||
bool _enabled = false;
|
||||
|
||||
// statistics
|
||||
|
||||
Reference in New Issue
Block a user