rename dfu_rt to dfu_runtime for easy reading

also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
This commit is contained in:
hathach
2021-02-11 12:05:22 +07:00
parent 89fcaf1efd
commit e12c25ec2c
7 changed files with 10 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ void tud_resume_cb(void)
}
// Invoked on DFU_DETACH request to reboot to the bootloader
void tud_dfu_rt_reboot_to_dfu(void)
void tud_dfu_runtime_reboot_to_dfu_cb(void)
{
blink_interval_ms = BLINK_DFU_MODE;
}

View File

@@ -78,7 +78,7 @@
//------------- CLASS -------------//
#define CFG_TUD_DFU_RT 1
#define CFG_TUD_DFU_RUNTIME 1
#ifdef __cplusplus
}