modalai_fc-v1: Add support for VOXL Flight board defaults, handle default MAVLink setups (#13677)

- Handle out of box config for Flight Core and VOXL Flight
- Handle AUTOCNF use case
- Hard code TELEM2 MAVLink Instace 1 for VOXL Flight
This commit is contained in:
modaltb
2019-12-09 12:39:17 -05:00
committed by Daniel Agar
parent abf174282f
commit c5de2cfe0d
2 changed files with 120 additions and 9 deletions
+10 -1
View File
@@ -79,8 +79,17 @@ static const px4_hw_mft_item_t hw_mft_list_fc0100[] = {
},
};
static const px4_hw_mft_item_t hw_mft_list_fc0110[] = {
{
.present = 0,
.mandatory = 0,
.connection = px4_hw_con_unknown,
},
};
static px4_hw_mft_list_entry_t mft_lists[] = {
{0x0000, hw_mft_list_fc0100, arraySize(hw_mft_list_fc0100)}
{0x0000, hw_mft_list_fc0100, arraySize(hw_mft_list_fc0100)},
{0x0100, hw_mft_list_fc0110, arraySize(hw_mft_list_fc0110)}
};