mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BLHeli: Add APM_BUILD_Heli
This commit is contained in:
parent
1d02ac768d
commit
a97cafbaad
@ -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_TYPE(APM_BUILD_ArduCopter) || 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
|
||||
@ -1355,7 +1355,7 @@ void AP_BLHeli::init(void)
|
||||
digital_mask = mask;
|
||||
}
|
||||
|
||||
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) || 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
Block a user