mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Arming: move copter-specific code into Copter subclass
This commit is contained in:
parent
576d1a145d
commit
e3dc408295
@ -88,11 +88,6 @@ AP_Arming::AP_Arming(const AP_AHRS &ahrs_ref, Compass &compass,
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
|
||||
// default REQUIRE parameter to 1 (needed for Copter which is missing the parameter declaration above)
|
||||
require.set_default(YES_MIN_PWM);
|
||||
#endif
|
||||
|
||||
memset(last_accel_pass_ms, 0, sizeof(last_accel_pass_ms));
|
||||
memset(last_gyro_pass_ms, 0, sizeof(last_gyro_pass_ms));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user