summaryrefslogtreecommitdiff
path: root/src/portable/microchip/samg
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-07 23:05:05 +0700
committerhathach <[email protected]>2022-03-07 23:05:05 +0700
commit606f932d92322a71960f51148ecc91eaf29bf507 (patch)
tree10140f875d719d5b0c296b0f5bcf018a1687910e /src/portable/microchip/samg
parent85dbcf5473f8f5d914c4c468715c5381ab2a6603 (diff)
added dcd_sof_enable() stubs for all other ports
Diffstat (limited to 'src/portable/microchip/samg')
-rw-r--r--src/portable/microchip/samg/dcd_samg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/microchip/samg/dcd_samg.c b/src/portable/microchip/samg/dcd_samg.c
index 2e9854153..814e680fb 100644
--- a/src/portable/microchip/samg/dcd_samg.c
+++ b/src/portable/microchip/samg/dcd_samg.c
@@ -210,6 +210,14 @@ void dcd_disconnect(uint8_t rhport)
UDP->UDP_TXVC = UDP_TXVC_TXVDIS_Msk;
}
+void dcd_sof_enable(uint8_t rhport, bool en)
+{
+ (void) rhport;
+ (void) en;
+
+ // TODO implement later
+}
+
//--------------------------------------------------------------------+
// Endpoint API
//--------------------------------------------------------------------+