Skip to content

Commit

Permalink
telemetry: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Aug 11, 2024
1 parent 7dd975d commit 5e062ca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/mavsdk/plugins/telemetry/telemetry_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2521,11 +2521,9 @@ std::pair<Telemetry::Result, Telemetry::GpsGlobalOrigin> TelemetryImpl::get_gps_

void TelemetryImpl::check_calibration()
{
if (_system_impl->has_autopilot()) {
if (_system_impl->autopilot() == Autopilot::ArduPilot) {
// We need to ask for the home position from ArduPilot
request_home_position_async();
}
if (_system_impl->has_autopilot() && _system_impl->autopilot() == Autopilot::ArduPilot) {
// We need to ask for the home position from ArduPilot
request_home_position_async();
}
}

Expand Down

0 comments on commit 5e062ca

Please sign in to comment.