mirror of https://github.com/ArduPilot/ardupilot
ArduSub: moved init_safety to AP_Vehicle
This commit is contained in:
parent
2d0201855e
commit
aca46c177d
|
@ -178,9 +178,6 @@ void Sub::init_ardupilot()
|
||||||
|
|
||||||
ins.set_log_raw_bit(MASK_LOG_IMU_RAW);
|
ins.set_log_raw_bit(MASK_LOG_IMU_RAW);
|
||||||
|
|
||||||
// disable safety if requested
|
|
||||||
BoardConfig.init_safety();
|
|
||||||
|
|
||||||
// flag that initialisation has completed
|
// flag that initialisation has completed
|
||||||
ap.initialised = true;
|
ap.initialised = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue