mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: move handling of AP_Radio RC input down into AP_RCProtocol
This commit is contained in:
parent
c91fe8a44f
commit
6d9a75b5ec
|
@ -225,7 +225,7 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
|
|||
AP_GROUPINFO("IO_ENABLE", 10, AP_BoardConfig, state.io_enable, 1),
|
||||
#endif
|
||||
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if AP_RADIO_ENABLED
|
||||
// @Group: RADIO
|
||||
// @Path: ../AP_Radio/AP_Radio.cpp
|
||||
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
#include <AP_Param/AP_Param.h>
|
||||
#include <AP_RTC/AP_RTC.h>
|
||||
#include <AC_PID/AC_PI.h>
|
||||
#include <AP_Radio/AP_Radio_config.h>
|
||||
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if AP_RADIO_ENABLED
|
||||
#include <AP_Radio/AP_Radio.h>
|
||||
#endif
|
||||
|
||||
|
@ -292,7 +293,7 @@ private:
|
|||
} heater;
|
||||
#endif
|
||||
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if AP_RADIO_ENABLED
|
||||
// direct attached radio
|
||||
AP_Radio _radio;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue