diff options
| author | hathach <[email protected]> | 2021-02-11 12:05:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-02-11 12:05:22 +0700 |
| commit | e12c25ec2c6d1cb0dd3c02bdc1947ae351ccad54 (patch) | |
| tree | 2466529f24dc4ccecf40e503f4a33068f5f5600d /examples/device | |
| parent | 89fcaf1efd6d345e821ab9ea5dbd73b2f239f05d (diff) | |
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
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/dfu_rt/src/main.c | 2 | ||||
| -rw-r--r-- | examples/device/dfu_rt/src/tusb_config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/dfu_rt/src/main.c b/examples/device/dfu_rt/src/main.c index 029ff7312..823c71ae5 100644 --- a/examples/device/dfu_rt/src/main.c +++ b/examples/device/dfu_rt/src/main.c @@ -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; } diff --git a/examples/device/dfu_rt/src/tusb_config.h b/examples/device/dfu_rt/src/tusb_config.h index abdbe7526..bdae1d2e9 100644 --- a/examples/device/dfu_rt/src/tusb_config.h +++ b/examples/device/dfu_rt/src/tusb_config.h @@ -78,7 +78,7 @@ //------------- CLASS -------------// -#define CFG_TUD_DFU_RT 1 +#define CFG_TUD_DFU_RUNTIME 1 #ifdef __cplusplus } |
