GCS_MAVLink: gate AP_DEVO_Telem behind !HAL_MINIMIZE_FEATURES

This commit is contained in:
Peter Barker 2019-09-04 10:37:06 +10:00 committed by Andrew Tridgell
parent 708ee47c03
commit df5921a87c
2 changed files with 4 additions and 0 deletions

View File

@ -761,8 +761,10 @@ public:
// frsky backend
AP_Frsky_Telem *frsky;
#if !HAL_MINIMIZE_FEATURES
// Devo backend
AP_DEVO_Telem devo_telemetry;
#endif
// install an alternative protocol handler
bool install_alternative_protocol(mavlink_channel_t chan, GCS_MAVLINK::protocol_handler_fn_t handler);

View File

@ -1945,7 +1945,9 @@ void GCS::setup_uarts()
}
}
#if !HAL_MINIMIZE_FEATURES
devo_telemetry.init();
#endif
}
// report battery2 state