From 77da6cf2b7c9b521ef8a41b21fc0bddf0fb75acc Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 18 May 2023 14:57:28 +1000 Subject: [PATCH] AP_Periph: supply buffer for decoding ADSB messages --- Tools/AP_Periph/adsb.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Tools/AP_Periph/adsb.cpp b/Tools/AP_Periph/adsb.cpp index 0e44461eb7..9415e4afa7 100644 --- a/Tools/AP_Periph/adsb.cpp +++ b/Tools/AP_Periph/adsb.cpp @@ -52,6 +52,15 @@ void AP_Periph_FW::adsb_init(void) } } +static mavlink_message_t chan_buffer; +mavlink_message_t* mavlink_get_channel_buffer(uint8_t chan) { + return &chan_buffer; +} + +static mavlink_status_t chan_status; +mavlink_status_t* mavlink_get_channel_status(uint8_t chan) { + return &chan_status; +} /* update ADSB subsystem