mc_att_control_main: fix check for hover thrust estimate update (#24750)

This commit is contained in:
Matthias Grob
2025-04-22 15:53:51 -08:00
committed by GitHub
parent f08d01b4d5
commit 9eaec534ab
@@ -224,7 +224,7 @@ MulticopterAttitudeControl::Run()
}
// Update hover thrust for stick scaling
if (_vehicle_status_sub.updated()) {
if (_hover_thrust_estimate_sub.updated()) {
hover_thrust_estimate_s hover_thrust_estimate;
if (_hover_thrust_estimate_sub.update(&hover_thrust_estimate)) {