diff options
| author | Ha Thach <[email protected]> | 2021-06-20 01:01:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-20 01:01:00 +0700 |
| commit | 81fa9966dedaeae23d0eb435b2377ae4695151c5 (patch) | |
| tree | 0f552d7c68328d8f9c3ee8391f34d3fdccaa0987 /src/portable | |
| parent | 03643d551d7c7f5998a2f46a3c3e3b46921e8b36 (diff) | |
| parent | 7dce27c732d8411229007282a34dec43acc6f76b (diff) | |
Merge pull request #895 from ElectronicCats/master
add support SAML21
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/microchip/samd/dcd_samd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c index 13e56453d..577bd0e05 100644 --- a/src/portable/microchip/samd/dcd_samd.c +++ b/src/portable/microchip/samd/dcd_samd.c @@ -29,7 +29,7 @@ #if TUSB_OPT_DEVICE_ENABLED && \ (CFG_TUSB_MCU == OPT_MCU_SAMD11 || CFG_TUSB_MCU == OPT_MCU_SAMD21 || \ CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X || \ - CFG_TUSB_MCU == OPT_MCU_SAML22) + CFG_TUSB_MCU == OPT_MCU_SAML22 || CFG_TUSB_MCU == OPT_MCU_SAML21) #include "sam.h" #include "device/dcd.h" @@ -125,7 +125,7 @@ void dcd_int_disable(uint8_t rhport) } #elif CFG_TUSB_MCU == OPT_MCU_SAMD11 || CFG_TUSB_MCU == OPT_MCU_SAMD21 || \ - CFG_TUSB_MCU == OPT_MCU_SAML22 + CFG_TUSB_MCU == OPT_MCU_SAML22 || CFG_TUSB_MCU == OPT_MCU_SAML21 void dcd_int_enable(uint8_t rhport) { |
