Skip to content

Commit 7456cc7

Browse files
authored
Merge pull request #1987 from mavlink/pr-backport-remove-wrong-cancel-call
calibration: remove spurious cancel command
2 parents 5359b58 + 2ae830d commit 7456cc7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mavsdk/plugins/calibration/calibration_impl.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ Calibration::Result CalibrationImpl::cancel()
256256
command.params.maybe_param6 = 0.0f;
257257
command.params.maybe_param7 = 0.0f;
258258
command.target_component_id = target_component_id;
259-
_parent->send_command_async(command, nullptr);
260259

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

0 commit comments

Comments
 (0)