Navigator: Only update params as they change

This commit is contained in:
Lorenz Meier
2017-02-25 11:04:52 +01:00
parent ecb2511a7b
commit ad3d0391ab
8 changed files with 5 additions and 19 deletions
-3
View File
@@ -444,9 +444,6 @@ Mission::get_absolute_altitude_for_item(struct mission_item_s &mission_item)
void
Mission::set_mission_items()
{
/* make sure param is up to date */
updateParams();
/* reset the altitude foh (first order hold) logic, if altitude foh is enabled (param) a new foh element starts now */
altitude_sp_foh_reset();