Event system: Initialize work item

This commit is contained in:
Lorenz Meier 2017-01-29 15:10:09 +01:00
parent ff305fa440
commit 2cf8cdc63f

View File

@ -69,7 +69,7 @@ private:
volatile bool _task_should_exit = false;
volatile bool _task_is_running = false;
struct work_s _work;
struct work_s _work = {};
int _vehicle_command_sub = -1;
orb_advert_t _command_ack_pub = nullptr;
};