Skip to content

Commit

Permalink
Fix param update in mc_att_control
Browse files Browse the repository at this point in the history
ModuleParams::updateParams() was never called
  • Loading branch information
jlecoeur authored and dagar committed Oct 16, 2019
1 parent 17551a9 commit 4cc7b13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/mc_att_control/mc_att_control_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ MulticopterAttitudeControl::parameter_update_poll()
_parameter_update_sub.copy(&pupdate);

// update parameters from storage
updateParams();
parameters_updated();
}
}
Expand Down

0 comments on commit 4cc7b13

Please sign in to comment.