mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
SRV_Channel: allow BLHeli build with AP_Periph
This commit is contained in:
parent
778de59fff
commit
c6bde6745a
@ -561,6 +561,7 @@ private:
|
||||
// support for Robotis servo protocol
|
||||
AP_RobotisServo robotis;
|
||||
static AP_RobotisServo *robotis_ptr;
|
||||
#endif // HAL_BUILD_AP_PERIPH
|
||||
|
||||
#if HAL_SUPPORT_RCOUT_SERIAL
|
||||
// support for BLHeli protocol
|
||||
@ -568,8 +569,6 @@ private:
|
||||
static AP_BLHeli *blheli_ptr;
|
||||
#endif
|
||||
|
||||
#endif // HAL_BUILD_AP_PERIPH
|
||||
|
||||
#if AP_FETTEC_ONEWIRE_ENABLED
|
||||
AP_FETtecOneWire fetteconwire;
|
||||
static AP_FETtecOneWire *fetteconwire_ptr;
|
||||
|
@ -191,6 +191,7 @@ const AP_Param::GroupInfo SRV_Channels::var_info[] = {
|
||||
// @Group: _SBUS_
|
||||
// @Path: ../AP_SBusOut/AP_SBusOut.cpp
|
||||
AP_SUBGROUPINFO(sbus, "_SBUS_", 20, SRV_Channels, AP_SBusOut),
|
||||
#endif // HAL_BUILD_AP_PERIPH
|
||||
|
||||
#if HAL_SUPPORT_RCOUT_SERIAL
|
||||
// @Group: _BLH_
|
||||
@ -198,6 +199,7 @@ const AP_Param::GroupInfo SRV_Channels::var_info[] = {
|
||||
AP_SUBGROUPINFO(blheli, "_BLH_", 21, SRV_Channels, AP_BLHeli),
|
||||
#endif
|
||||
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
// @Group: _ROB_
|
||||
// @Path: ../AP_RobotisServo/AP_RobotisServo.cpp
|
||||
AP_SUBGROUPINFO(robotis, "_ROB_", 22, SRV_Channels, AP_RobotisServo),
|
||||
|
Loading…
Reference in New Issue
Block a user