mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 23:31:35 +08:00
FlightTask: make applyCommandParameters getting called recursively & pass command by reference
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user