mirror of https://github.com/ArduPilot/ardupilot
AP_BLHeli: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
This commit is contained in:
parent
62825ee44f
commit
63cea29af3
|
@ -58,7 +58,7 @@ const AP_Param::GroupInfo AP_BLHeli::var_info[] = {
|
|||
// @User: Advanced
|
||||
AP_GROUPINFO("MASK", 1, AP_BLHeli, channel_mask, 0),
|
||||
|
||||
#if APM_BUILD_COPTER_OR_HELI() || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_Rover)
|
||||
#if APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_Rover)
|
||||
// @Param: AUTO
|
||||
// @DisplayName: BLHeli pass-thru auto-enable for multicopter motors
|
||||
// @Description: If set to 1 this auto-enables BLHeli pass-thru support for all multicopter motors
|
||||
|
@ -1343,7 +1343,7 @@ void AP_BLHeli::init(void)
|
|||
digital_mask = mask;
|
||||
}
|
||||
|
||||
#if APM_BUILD_COPTER_OR_HELI() || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_Rover)
|
||||
#if APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_Rover)
|
||||
/*
|
||||
plane and copter can use AP_Motors to get an automatic mask
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue