mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
GCS_Mavlink: HAL_RCINPUT_WITH_AP_RADIO definition
This commit is contained in:
parent
80859a9137
commit
b260a6ca7c
@ -31,7 +31,7 @@
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
#include <AP_Radio/AP_Radio.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#endif
|
||||
@ -1958,7 +1958,7 @@ void GCS_MAVLINK::handle_set_gps_global_origin(const mavlink_message_t *msg)
|
||||
*/
|
||||
void GCS_MAVLINK::handle_data_packet(mavlink_message_t *msg)
|
||||
{
|
||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
mavlink_data96_t m;
|
||||
mavlink_msg_data96_decode(msg, &m);
|
||||
switch (m.type) {
|
||||
|
Loading…
Reference in New Issue
Block a user