Copter: move copter-specific AP_Arming code into Copter subclass

This commit is contained in:
Peter Barker 2018-06-20 17:16:52 +10:00 committed by Peter Barker
parent e3dc408295
commit 81b731b214

View File

@ -13,6 +13,9 @@ public:
, _inav(inav) , _inav(inav)
, _ahrs_navekf(ahrs_ref) , _ahrs_navekf(ahrs_ref)
{ {
// default REQUIRE parameter to 1 (Copter does not have an
// actual ARMING_REQUIRE parameter)
require.set_default(YES_MIN_PWM);
} }
/* Do not allow copies */ /* Do not allow copies */