Skip to content

Commit

Permalink
Merge pull request #1987 from mavlink/pr-backport-remove-wrong-cancel…
Browse files Browse the repository at this point in the history
…-call

calibration: remove spurious cancel command
  • Loading branch information
julianoes authored Feb 10, 2023
2 parents 5359b58 + 2ae830d commit 7456cc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mavsdk/plugins/calibration/calibration_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ Calibration::Result CalibrationImpl::cancel()
command.params.maybe_param6 = 0.0f;
command.params.maybe_param7 = 0.0f;
command.target_component_id = target_component_id;
_parent->send_command_async(command, nullptr);

auto prom = std::promise<Calibration::Result>();
auto fut = prom.get_future();
Expand Down

0 comments on commit 7456cc7

Please sign in to comment.