diff options
| author | hathach <[email protected]> | 2022-02-25 13:45:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-02-25 18:35:21 +0700 |
| commit | 99ad3ae2ca9d4db79b2ac92a6991ebdc3dfb94a3 (patch) | |
| tree | d6de7df3364078b67c4c5fd8aeeec4061de96df6 /src | |
| parent | a8af609dfef0f82ce22e6f0bf48146b4b2433633 (diff) | |
rename and move dcd_attr.h to tusb_mcu_attr.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/tusb_mcu_attr.h (renamed from src/device/dcd_attr.h) | 4 | ||||
| -rw-r--r-- | src/device/dcd.h | 1 | ||||
| -rw-r--r-- | src/portable/chipidea/ci_hs/dcd_ci_hs.c | 1 | ||||
| -rw-r--r-- | src/portable/synopsys/dwc2/dcd_dwc2.c | 1 | ||||
| -rw-r--r-- | src/tusb_option.h | 2 |
5 files changed, 3 insertions, 6 deletions
diff --git a/src/device/dcd_attr.h b/src/common/tusb_mcu_attr.h index e14a3f134..c10869d21 100644 --- a/src/device/dcd_attr.h +++ b/src/common/tusb_mcu_attr.h @@ -24,8 +24,8 @@ * This file is part of the TinyUSB stack. */ -#ifndef TUSB_DCD_ATTR_H_ -#define TUSB_DCD_ATTR_H_ +#ifndef TUSB_MCU_ATTR_H_ +#define TUSB_MCU_ATTR_H_ #include "tusb_option.h" diff --git a/src/device/dcd.h b/src/device/dcd.h index fbcef40d4..4e725c95a 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -30,7 +30,6 @@ #include "common/tusb_common.h" #include "osal/osal.h" #include "common/tusb_fifo.h" -#include "dcd_attr.h" #ifdef __cplusplus extern "C" { diff --git a/src/portable/chipidea/ci_hs/dcd_ci_hs.c b/src/portable/chipidea/ci_hs/dcd_ci_hs.c index ffb2ebd16..6361fe629 100644 --- a/src/portable/chipidea/ci_hs/dcd_ci_hs.c +++ b/src/portable/chipidea/ci_hs/dcd_ci_hs.c @@ -25,7 +25,6 @@ */ #include "tusb_option.h" -#include "device/dcd_attr.h" #if CFG_TUD_ENABLED && defined(DCD_ATTR_CONTROLLER_CHIPIDEA_HS) diff --git a/src/portable/synopsys/dwc2/dcd_dwc2.c b/src/portable/synopsys/dwc2/dcd_dwc2.c index 86dc760c8..ecbc36fb9 100644 --- a/src/portable/synopsys/dwc2/dcd_dwc2.c +++ b/src/portable/synopsys/dwc2/dcd_dwc2.c @@ -28,7 +28,6 @@ */ #include "tusb_option.h" -#include "device/dcd_attr.h" #if CFG_TUD_ENABLED && \ ( defined(DCD_ATTR_DWC2_STM32) || \ diff --git a/src/tusb_option.h b/src/tusb_option.h index 5d104e31c..6a3638461 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -172,7 +172,7 @@ #include "tusb_config.h" #endif -#include "device/dcd_attr.h" +#include "common/tusb_mcu_attr.h" //-------------------------------------------------------------------- // RootHub Mode Configuration |
