AP_Common: stop passing mission in Terrain constructor
Terrain can use the mission singleton This means Copter can have terrain while compiling mission out
This commit is contained in:
parent
06c61070dc
commit
8cdda7dec2
@ -18,7 +18,7 @@ public:
|
||||
FUNCTOR_BIND_MEMBER(&DummyVehicle::start_cmd, bool, const AP_Mission::Mission_Command &),
|
||||
FUNCTOR_BIND_MEMBER(&DummyVehicle::verify_cmd, bool, const AP_Mission::Mission_Command &),
|
||||
FUNCTOR_BIND_MEMBER(&DummyVehicle::mission_complete, void)};
|
||||
AP_Terrain terrain{mission};
|
||||
AP_Terrain terrain;
|
||||
};
|
||||
|
||||
const struct AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user