From e3dc408295e03483f42f6533dfc3d7f89f769198 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 20 Jun 2018 17:16:34 +1000 Subject: [PATCH] AP_Arming: move copter-specific code into Copter subclass --- libraries/AP_Arming/AP_Arming.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index ab017aa66a..0539ce5029 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -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)); }