Skip to content
Commit 9550f9c3 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Anas Nashif
Browse files

usb: class: dfu: fix firmware upload



The flash_read() function takes an offset from beginning of the flash.
This patch subtract FLASH_BASE_ADDRESS from the absolute address. This
fixes DFU firmware upload.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent d77b1c84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment