diff options
| author | sabas1080 <[email protected]> | 2021-06-15 00:01:28 -0500 |
|---|---|---|
| committer | sabas1080 <[email protected]> | 2021-06-15 00:01:28 -0500 |
| commit | 7bed7d70f06e291bf4ba4f5d6cfcc238b11c563b (patch) | |
| tree | f03da3e8c39f34adac9616232f96c10884ceb4ef /src/portable | |
| parent | 2b5bad7362f96ed376d0cc6e68c5ea1fc00dd4a4 (diff) | |
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) { |
