Navigator: Only update params as they change

This commit is contained in:
Lorenz Meier
2017-02-22 23:48:38 +01:00
parent ecb2511a7b
commit ad3d0391ab
8 changed files with 5 additions and 19 deletions

View File

@@ -136,9 +136,6 @@ RTL::set_rtl_item()
{
struct position_setpoint_triplet_s *pos_sp_triplet = _navigator->get_position_setpoint_triplet();
/* make sure we have the latest params */
updateParams();
if (!_rtl_start_lock) {
set_previous_pos_setpoint();
}