Skip to content

Commit

Permalink
use system status from setter function
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianhjaeger committed Mar 11, 2022
1 parent 8d3932d commit 8d76b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/core/mavsdk_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ void MavsdkImpl::send_heartbeat()
MAV_AUTOPILOT_INVALID,
get_own_component_id() == MAV_COMP_ID_AUTOPILOT1 ? _base_mode.load() : 0,
get_own_component_id() == MAV_COMP_ID_AUTOPILOT1 ? _custom_mode.load() : 0,
0);
get_system_status());
send_message(message);
}

Expand Down

0 comments on commit 8d76b54

Please sign in to comment.