summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-11-09 11:22:29 +0700
committerGitHub <[email protected]>2020-11-09 11:22:29 +0700
commit589dfdb0e58fe6630f2b67c49c7f682ac51aba8f (patch)
tree6d018c153f30b28ecc53e7b21fe0b92feee365fc /src
parent1b1e205a3014aa4e26933e42167632b16154c14c (diff)
parent496c7c701a5a4491c8a393fc580b5df2f29c1e22 (diff)
Merge pull request #554 from hathach/initial-same7x
Initial same7x
Diffstat (limited to 'src')
-rw-r--r--src/portable/template/dcd_template.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/portable/template/dcd_template.c b/src/portable/template/dcd_template.c
index 812bb7866..618812416 100644
--- a/src/portable/template/dcd_template.c
+++ b/src/portable/template/dcd_template.c
@@ -45,20 +45,6 @@ void dcd_init (uint8_t rhport)
(void) rhport;
}
-#if HAS_INTERNAL_PULLUP
-// Enable internal D+/D- pullup
-void dcd_connect(uint8_t rhport) TU_ATTR_WEAK
-{
- (void) rhport;
-}
-
-// Disable internal D+/D- pullup
-void dcd_disconnect(uint8_t rhport) TU_ATTR_WEAK
-{
- (void) rhport;
-}
-#endif
-
// Enable device interrupt
void dcd_int_enable (uint8_t rhport)
{