Skip to content

Commit

Permalink
Merge pull request #2140 from mavlink/fix-telemetry-health
Browse files Browse the repository at this point in the history
telemetry: do not interrupt calibration checks too early
  • Loading branch information
julianoes authored Sep 13, 2023
2 parents 67c1208 + 72814c7 commit 1bac5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mavsdk/plugins/telemetry/telemetry_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2704,7 +2704,7 @@ void TelemetryImpl::check_calibration()
std::lock_guard<std::mutex> lock(_health_mutex);
if ((_has_received_gyro_calibration && _has_received_accel_calibration &&
_has_received_mag_calibration) ||
_has_received_hitl_param) {
_hitl_enabled) {
_system_impl->remove_call_every(_calibration_cookie);
return;
}
Expand Down

0 comments on commit 1bac5a1

Please sign in to comment.