mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
GCS_MAVLink: gate AP_DEVO_Telem behind !HAL_MINIMIZE_FEATURES
This commit is contained in:
parent
708ee47c03
commit
df5921a87c
@ -761,8 +761,10 @@ public:
|
|||||||
// frsky backend
|
// frsky backend
|
||||||
AP_Frsky_Telem *frsky;
|
AP_Frsky_Telem *frsky;
|
||||||
|
|
||||||
|
#if !HAL_MINIMIZE_FEATURES
|
||||||
// Devo backend
|
// Devo backend
|
||||||
AP_DEVO_Telem devo_telemetry;
|
AP_DEVO_Telem devo_telemetry;
|
||||||
|
#endif
|
||||||
|
|
||||||
// install an alternative protocol handler
|
// install an alternative protocol handler
|
||||||
bool install_alternative_protocol(mavlink_channel_t chan, GCS_MAVLINK::protocol_handler_fn_t handler);
|
bool install_alternative_protocol(mavlink_channel_t chan, GCS_MAVLINK::protocol_handler_fn_t handler);
|
||||||
|
@ -1945,7 +1945,9 @@ void GCS::setup_uarts()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !HAL_MINIMIZE_FEATURES
|
||||||
devo_telemetry.init();
|
devo_telemetry.init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// report battery2 state
|
// report battery2 state
|
||||||
|
Loading…
Reference in New Issue
Block a user