fix dfu example build

This commit is contained in:
hathach
2021-05-26 18:16:56 +07:00
parent dbef50f8ff
commit f9c542aa52
14 changed files with 25 additions and 22 deletions

View File

@@ -150,6 +150,8 @@ void dfu_moded_init(void)
void dfu_moded_reset(uint8_t rhport)
{
(void) rhport;
_dfu_state_ctx.state = DFU_IDLE;
_dfu_state_ctx.status = DFU_STATUS_OK;
_dfu_state_ctx.blk_transfer_in_proc = false;