AP_BoardConfig: HAL_RCINPUT_WITH_AP_RADIO definition

This commit is contained in:
Eugene Shamaev 2018-03-11 16:47:28 +02:00 committed by Randy Mackay
parent 86440b20ba
commit 7a67c82026
2 changed files with 3 additions and 3 deletions

View File

@ -191,7 +191,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
#endif
#endif
#ifdef HAL_RCINPUT_WITH_AP_RADIO
#if HAL_RCINPUT_WITH_AP_RADIO
// @Group: RADIO
// @Path: ../AP_Radio/AP_Radio.cpp
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),

View File

@ -32,7 +32,7 @@
#define AP_FEATURE_SBUS_OUT 0
#endif
#ifdef HAL_RCINPUT_WITH_AP_RADIO
#if HAL_RCINPUT_WITH_AP_RADIO
#include <AP_Radio/AP_Radio.h>
#endif
@ -207,7 +207,7 @@ private:
// target temperarure for IMU in Celsius, or -1 to disable
AP_Int8 _imu_target_temperature;
#ifdef HAL_RCINPUT_WITH_AP_RADIO
#if HAL_RCINPUT_WITH_AP_RADIO
// direct attached radio
AP_Radio _radio;
#endif