summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/valentyusb/eptri/dcd_eptri.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/portable/valentyusb/eptri/dcd_eptri.c b/src/portable/valentyusb/eptri/dcd_eptri.c
index 1054e71d6..1e7219a1f 100644
--- a/src/portable/valentyusb/eptri/dcd_eptri.c
+++ b/src/portable/valentyusb/eptri/dcd_eptri.c
@@ -397,6 +397,19 @@ void dcd_remote_wakeup(uint8_t rhport)
(void) rhport;
}
+void dcd_connect(uint8_t rhport)
+{
+ (void) rhport;
+ usb_pullup_out_write(1);
+}
+
+void dcd_disconnect(uint8_t rhport)
+{
+ (void) rhport;
+ usb_pullup_out_write(0);
+}
+
+
//--------------------------------------------------------------------+
// DCD Endpoint Port
//--------------------------------------------------------------------+