Skip to content

Commit

Permalink
action: fixup to compile
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes committed Sep 12, 2023
1 parent f1e6dbf commit ca28ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/plugins/action/action_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void ActionImpl::goto_location_async(
} else {
goto_flight_mode = FlightMode::Offboard;
}
if (_system_impl->get_flight_mode() != gotoFlightMode) {
if (_system_impl->get_flight_mode() != goto_flight_mode) {
_system_impl->set_flight_mode_async(
goto_flight_mode,
[this, callback, send_do_reposition](MavlinkCommandSender::Result result, float) {
Expand Down

0 comments on commit ca28ed4

Please sign in to comment.