AP_Periph: supply buffer for decoding ADSB messages

This commit is contained in:
Peter Barker 2023-05-18 14:57:28 +10:00 committed by Andrew Tridgell
parent e3c4d9fd23
commit 77da6cf2b7
1 changed files with 9 additions and 0 deletions

View File

@ -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