RC_Channel: default throttle pre-arm check to enabled

This commit is contained in:
Mark Whitehorn 2020-07-06 07:36:58 -06:00 committed by Andrew Tridgell
parent 58463e67c5
commit 1c60a3eb4c

View File

@ -1,5 +1,8 @@
#pragma once
#include "RC_Channel.h"
/*
this header file is expected to be #included by Vehicle subclasses
of RC_Channels after defining RC_CHANNELS_SUBCLASS and
@ -87,7 +90,7 @@ const AP_Param::GroupInfo RC_Channels::var_info[] = {
// @Description: RC input options
// @User: Advanced
// @Bitmask: 0:Ignore RC Receiver, 1:Ignore MAVLink Overrides, 2:Ignore Receiver Failsafe, 3:FPort Pad, 4:Log RC input bytes, 5:Arming check throttle for 0 input, 6:Skip the arming check for neutral Roll/Pitch/Yay sticks, 7:Allow Switch reverse
AP_GROUPINFO("_OPTIONS", 33, RC_CHANNELS_SUBCLASS, _options, 0),
AP_GROUPINFO("_OPTIONS", 33, RC_CHANNELS_SUBCLASS, _options, (uint32_t)RC_Channels::Option::ARMING_CHECK_THROTTLE),
AP_GROUPEND
};