summaryrefslogtreecommitdiff
path: root/src/portable/valentyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-26 17:02:24 +0700
committerhathach <[email protected]>2021-08-26 17:07:03 +0700
commit71e77e47fa6056937bfcd1a883a66e2bc0b622b2 (patch)
tree05eb70e002770c595be726d6f1c7dad73a28778c /src/portable/valentyusb
parent07adc26ce32ee663905a25bd0300d56c265dc2ad (diff)
add dcd_edpt_close_all() for clear existing configured state
correctly responded to TD 9.13 Set Configuration Test
Diffstat (limited to 'src/portable/valentyusb')
-rw-r--r--src/portable/valentyusb/eptri/dcd_eptri.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/portable/valentyusb/eptri/dcd_eptri.c b/src/portable/valentyusb/eptri/dcd_eptri.c
index b68f04faa..89bc7a1ab 100644
--- a/src/portable/valentyusb/eptri/dcd_eptri.c
+++ b/src/portable/valentyusb/eptri/dcd_eptri.c
@@ -429,6 +429,12 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc)
return true;
}
+void dcd_edpt_close_all (uint8_t rhport)
+{
+ (void) rhport;
+ // TODO implement dcd_edpt_close_all()
+}
+
void dcd_edpt_stall(uint8_t rhport, uint8_t ep_addr)
{
(void) rhport;