summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-02-11 12:05:22 +0700
committerhathach <[email protected]>2021-02-11 12:05:22 +0700
commite12c25ec2c6d1cb0dd3c02bdc1947ae351ccad54 (patch)
tree2466529f24dc4ccecf40e503f4a33068f5f5600d /src/device
parent89fcaf1efd6d345e821ab9ea5dbd73b2f239f05d (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 'src/device')
-rw-r--r--src/device/usbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index d871a53d4..f4e4e08f3 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -175,9 +175,9 @@ static usbd_class_driver_t const _usbd_driver[] =
},
#endif
- #if CFG_TUD_DFU_RT
+ #if CFG_TUD_DFU_RUNTIME
{
- DRIVER_NAME("DFU-RT")
+ DRIVER_NAME("DFU-RUNTIME")
.init = dfu_rtd_init,
.reset = dfu_rtd_reset,
.open = dfu_rtd_open,