FlightTask: make applyCommandParameters getting called recursively & pass command by reference

This commit is contained in:
Matthias Grob
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 4bb3692020
commit 4d0dca5dd5
4 changed files with 7 additions and 7 deletions
@@ -56,7 +56,7 @@ public:
bool initializeSubscriptions(SubscriptionArray &subscription_array) override;
bool applyCommandParameters(vehicle_command_s command) override { return false; };
bool applyCommandParameters(const vehicle_command_s &command) override { return FlightTask::applyCommandParameters(command); };
bool updateInitialize() override;