simplify TUD_DFU_DESCRIPTOR with alternate count

remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional
descriptor
This commit is contained in:
hathach
2021-07-12 20:15:59 +07:00
parent 2916cd4575
commit 680b000bd1
4 changed files with 44 additions and 41 deletions
+2 -1
View File
@@ -154,8 +154,9 @@ bool tud_dfu_device_data_done_check_cb(uint8_t alt)
return true;
}
void tud_dfu_abort_cb(void)
void tud_dfu_abort_cb(uint8_t alt)
{
(void) alt;
printf(" Host aborted transfer\r\n");
}