mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 16:23:34 +08:00
Event system: Initialize work item
This commit is contained in:
@@ -69,7 +69,7 @@ private:
|
|||||||
|
|
||||||
volatile bool _task_should_exit = false;
|
volatile bool _task_should_exit = false;
|
||||||
volatile bool _task_is_running = false;
|
volatile bool _task_is_running = false;
|
||||||
struct work_s _work;
|
struct work_s _work = {};
|
||||||
int _vehicle_command_sub = -1;
|
int _vehicle_command_sub = -1;
|
||||||
orb_advert_t _command_ack_pub = nullptr;
|
orb_advert_t _command_ack_pub = nullptr;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user