rename tud_dfu_reboot_cb() to tud_dfu_detach_cb()

This commit is contained in:
hathach
2021-07-14 15:31:20 +07:00
parent 57d9f696a2
commit 27676f738d
2 changed files with 3 additions and 2 deletions

View File

@@ -241,7 +241,7 @@ bool dfu_moded_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_reque
case DFU_REQUEST_DETACH:
{
tud_control_status(rhport, request);
if (tud_dfu_reboot_cb) tud_dfu_reboot_cb();
if (tud_dfu_detach_cb) tud_dfu_detach_cb();
break;
}