diff options
| author | Rafael Silva <[email protected]> | 2021-06-11 22:50:00 +0100 |
|---|---|---|
| committer | Rafael Silva <[email protected]> | 2021-06-12 00:09:24 +0100 |
| commit | 776a7709474a0736ed21218c2ff84208745c58cc (patch) | |
| tree | fb64499b0dbd458208d1e370d0d0fb91a165c8df /src/portable | |
| parent | 2196991df31f27dcf2bf71cc4bf743774ea395e8 (diff) | |
dcd: sam7x: rename family dcd to include the whole family
Signed-off-by: Rafael Silva <[email protected]>
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/microchip/sam7x/dcd_sam7x.c (renamed from src/portable/microchip/same70/dcd_same70.c) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/microchip/same70/dcd_same70.c b/src/portable/microchip/sam7x/dcd_sam7x.c index 0ad9ad625..53ea796b4 100644 --- a/src/portable/microchip/same70/dcd_same70.c +++ b/src/portable/microchip/sam7x/dcd_sam7x.c @@ -27,7 +27,7 @@ #include "tusb_option.h" -#if CFG_TUSB_MCU == OPT_MCU_SAME70 +#if TUSB_OPT_DEVICE_ENABLED && CFG_TUSB_MCU == OPT_MCU_SAM7X #include "device/dcd.h" @@ -43,7 +43,7 @@ #endif // Dual bank can imporve performance, but need 2 times bigger packet buffer -// As SAME70 has only 4KB packet buffer, use with caution ! +// As SAM7x has only 4KB packet buffer, use with caution ! // Enable in FS mode as packets are smaller #ifndef USE_DUAL_BANK # if TUD_OPT_HIGH_SPEED |
