dfu: mcuboot: rename boot_swap_type> mcuboot_swap_type
This function conflicts with a function of the same name in mcuboot. This happens when building USB DFU support into mcuboot. DFU over USB uses image manager and mcuboot internals to manage images downloaded to the device. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
0d82116655
commit
996c252e51
4 changed files with 5 additions and 5 deletions
|
@ -416,7 +416,7 @@ static int boot_read_swap_state(u8_t bank_id, struct boot_swap_state *state)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int boot_swap_type(void)
|
||||
int mcuboot_swap_type(void)
|
||||
{
|
||||
const struct boot_swap_table *table;
|
||||
struct boot_swap_state state_slot0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue