usb: dfu: correct image names to match alt numbers
One would expect alt=0 to be named image-0 and alt=1 to be named image-1. Make it so. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
This commit is contained in:
parent
143f9bfd4e
commit
093fec62e7
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ LOG_MODULE_REGISTER(usb_dfu);
|
|||
|
||||
#define USB_DFU_MAX_XFER_SIZE CONFIG_USB_REQUEST_BUFFER_SIZE
|
||||
|
||||
#define FIRMWARE_IMAGE_0_LABEL "image-1"
|
||||
#define FIRMWARE_IMAGE_1_LABEL "image-0"
|
||||
#define FIRMWARE_IMAGE_0_LABEL "image-0"
|
||||
#define FIRMWARE_IMAGE_1_LABEL "image-1"
|
||||
|
||||
/* MCUBoot waits for CONFIG_USB_DFU_WAIT_DELAY_MS time in total to let DFU to
|
||||
* be commenced. It intermittently checks every INTERMITTENT_CHECK_DELAY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue