Skip to content

Commit 9eaec53

Browse files
authored
mc_att_control_main: fix check for hover thrust estimate update (#24750)
1 parent f08d01b commit 9eaec53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/mc_att_control/mc_att_control_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ MulticopterAttitudeControl::Run()
224224
}
225225

226226
// Update hover thrust for stick scaling
227-
if (_vehicle_status_sub.updated()) {
227+
if (_hover_thrust_estimate_sub.updated()) {
228228
hover_thrust_estimate_s hover_thrust_estimate;
229229

230230
if (_hover_thrust_estimate_sub.update(&hover_thrust_estimate)) {

0 commit comments

Comments
 (0)