Fix enum and param update

This commit is contained in:
Julian Kent
2021-01-13 10:26:10 +01:00
committed by Julian Kent
parent c745c8bb45
commit a97a4d8bb8
5 changed files with 22 additions and 23 deletions
+1 -2
View File
@@ -78,6 +78,7 @@ Navigator::Navigator() :
ModuleParams(nullptr),
_loop_perf(perf_alloc(PC_ELAPSED, "navigator")),
_geofence(this),
_gf_breach_avoidance(this),
_mission(this),
_loiter(this),
_takeoff(this),
@@ -208,8 +209,6 @@ Navigator::run()
// update parameters from storage
params_update();
_gf_breach_avoidance.updateParameters();
}
_land_detected_sub.update(&_land_detected);