mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: HAL_RCINPUT_WITH_AP_RADIO definition
This commit is contained in:
parent
86440b20ba
commit
7a67c82026
|
@ -191,7 +191,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||||
// @Group: RADIO
|
// @Group: RADIO
|
||||||
// @Path: ../AP_Radio/AP_Radio.cpp
|
// @Path: ../AP_Radio/AP_Radio.cpp
|
||||||
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),
|
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#define AP_FEATURE_SBUS_OUT 0
|
#define AP_FEATURE_SBUS_OUT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||||
#include <AP_Radio/AP_Radio.h>
|
#include <AP_Radio/AP_Radio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ private:
|
||||||
// target temperarure for IMU in Celsius, or -1 to disable
|
// target temperarure for IMU in Celsius, or -1 to disable
|
||||||
AP_Int8 _imu_target_temperature;
|
AP_Int8 _imu_target_temperature;
|
||||||
|
|
||||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||||
// direct attached radio
|
// direct attached radio
|
||||||
AP_Radio _radio;
|
AP_Radio _radio;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue