forked from Archive/PX4-Autopilot
px4_fmuv5x:Update manifest for USB not present
This commit is contained in:
parent
ff4ec31d29
commit
ee220a5086
|
@ -77,6 +77,11 @@ static const px4_hw_mft_item_t hw_mft_list_v0500[] = {
|
|||
.mandatory = 1,
|
||||
.connection = px4_hw_con_onboard,
|
||||
},
|
||||
{
|
||||
.present = 1,
|
||||
.mandatory = 1,
|
||||
.connection = px4_hw_con_onboard,
|
||||
},
|
||||
};
|
||||
|
||||
static const px4_hw_mft_item_t hw_mft_list_v0501[] = {
|
||||
|
@ -85,11 +90,30 @@ static const px4_hw_mft_item_t hw_mft_list_v0501[] = {
|
|||
.mandatory = 0,
|
||||
.connection = px4_hw_con_unknown,
|
||||
},
|
||||
{
|
||||
.present = 1,
|
||||
.mandatory = 1,
|
||||
.connection = px4_hw_con_onboard,
|
||||
},
|
||||
};
|
||||
|
||||
static const px4_hw_mft_item_t hw_mft_list_v0509[] = {
|
||||
{
|
||||
.present = 1,
|
||||
.mandatory = 1,
|
||||
.connection = px4_hw_con_onboard,
|
||||
},
|
||||
{
|
||||
.present = 0,
|
||||
.mandatory = 0,
|
||||
.connection = px4_hw_con_unknown,
|
||||
},
|
||||
};
|
||||
|
||||
static px4_hw_mft_list_entry_t mft_lists[] = {
|
||||
{0x0000, hw_mft_list_v0500, arraySize(hw_mft_list_v0500)},
|
||||
{0x0001, hw_mft_list_v0501, arraySize(hw_mft_list_v0501)},
|
||||
{0x0900, hw_mft_list_v0509, arraySize(hw_mft_list_v0509)},
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -664,6 +664,7 @@ __EXPORT int board_set_bootload_mode(board_reset_e mode);
|
|||
|
||||
typedef enum {
|
||||
PX4_MFT_PX4IO = 0,
|
||||
PX4_MFT_USB = 1,
|
||||
} px4_hw_mft_item_id_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in New Issue