logger: create _vehicle_status_sub & _parameter_update_sub on stack

Since it's only used in run().
This commit is contained in:
Beat Küng
2016-05-14 11:27:07 +02:00
committed by Lorenz Meier
parent 4f0573d612
commit d7f0808316
2 changed files with 9 additions and 23 deletions
-2
View File
@@ -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