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
-2
View File
@@ -83,7 +83,6 @@ void
RCLoss::on_activation()
{
_rcl_state = RCL_STATE_NONE;
updateParams();
advance_rcl();
set_rcl_item();
}
@@ -92,7 +91,6 @@ void
RCLoss::on_active()
{
if (is_mission_item_reached()) {
updateParams();
advance_rcl();
set_rcl_item();
}