summaryrefslogtreecommitdiff
path: root/src/portable/microchip
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-04-17 13:52:34 +0700
committerhathach <[email protected]>2020-04-17 13:52:34 +0700
commit6f9c256ad0e6b030468bd8a8fbfd41801b70a69a (patch)
tree837b018d6f1526b64f0372cb24ddea1ec6e9bf16 /src/portable/microchip
parent05476d9ad72321aa6e57ff5acbc4b25e1366fead (diff)
complete remove dcd_set_config(), fix unit test
Diffstat (limited to 'src/portable/microchip')
-rw-r--r--src/portable/microchip/samd/dcd_samd.c7
-rw-r--r--src/portable/microchip/samg/dcd_samg.c10
2 files changed, 0 insertions, 17 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c
index bd61df86a..a01bef38a 100644
--- a/src/portable/microchip/samd/dcd_samd.c
+++ b/src/portable/microchip/samd/dcd_samd.c
@@ -144,13 +144,6 @@ void dcd_set_address (uint8_t rhport, uint8_t dev_addr)
USB->DEVICE.INTENSET.reg = USB_DEVICE_INTENSET_SUSPEND;
}
-void dcd_set_config (uint8_t rhport, uint8_t config_num)
-{
- (void) rhport;
- (void) config_num;
- // Nothing to do
-}
-
void dcd_remote_wakeup(uint8_t rhport)
{
(void) rhport;
diff --git a/src/portable/microchip/samg/dcd_samg.c b/src/portable/microchip/samg/dcd_samg.c
index 7703ee0dc..1824d549a 100644
--- a/src/portable/microchip/samg/dcd_samg.c
+++ b/src/portable/microchip/samg/dcd_samg.c
@@ -167,16 +167,6 @@ void dcd_set_address (uint8_t rhport, uint8_t dev_addr)
// do it at dcd_edpt0_status_complete()
}
-// Receive Set Configure request
-void dcd_set_config (uint8_t rhport, uint8_t config_num)
-{
- (void) rhport;
- (void) config_num;
-
- // Configured State
-// UDP->UDP_GLB_STAT |= UDP_GLB_STAT_CONFG_Msk;
-}
-
// Wake up host
void dcd_remote_wakeup (uint8_t rhport)
{