summaryrefslogtreecommitdiff
path: root/src/portable/mindmotion
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/mindmotion
parent85dbcf5473f8f5d914c4c468715c5381ab2a6603 (diff)
added dcd_sof_enable() stubs for all other ports
Diffstat (limited to 'src/portable/mindmotion')
-rw-r--r--src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
index 1edcd8458..39b09db68 100644
--- a/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
+++ b/src/portable/mindmotion/mm32/dcd_mm32f327x_otg.c
@@ -305,6 +305,14 @@ void dcd_disconnect(uint8_t rhport)
USB_OTG_FS->CTL = 0;
}
+void dcd_sof_enable(uint8_t rhport, bool en)
+{
+ (void) rhport;
+ (void) en;
+
+ // TODO implement later
+}
+
//--------------------------------------------------------------------+
// Endpoint API
//--------------------------------------------------------------------+