summaryrefslogtreecommitdiff
path: root/src/portable/mindmotion
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-02-23 21:46:40 +0700
committerhathach <[email protected]>2022-02-25 18:35:21 +0700
commitd10326cb4e0f48a05bc39c6f51b7b0fb29427cc9 (patch)
tree698a451a7e4975699d43c792ac5ae5c6c677b8d1 /src/portable/mindmotion
parent4a5a53b3b88fcd2f5ec7f1f94eb07c27cb1e9bec (diff)
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
Diffstat (limited to 'src/portable/mindmotion')
-rw-r--r--src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
index a3b69b987..1edcd8458 100644
--- a/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
+++ b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
@@ -26,7 +26,7 @@
#include "tusb_option.h"
-#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MM32F327X )
+#if CFG_TUD_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MM32F327X )
#include "reg_usb_otg_fs.h"
#include "mm32_device.h"