diff options
| author | hathach <[email protected]> | 2022-03-07 23:05:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-07 23:05:05 +0700 |
| commit | 606f932d92322a71960f51148ecc91eaf29bf507 (patch) | |
| tree | 10140f875d719d5b0c296b0f5bcf018a1687910e /src/portable/st | |
| parent | 85dbcf5473f8f5d914c4c468715c5381ab2a6603 (diff) | |
added dcd_sof_enable() stubs for all other ports
Diffstat (limited to 'src/portable/st')
| -rw-r--r-- | src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c | 8 | ||||
| -rw-r--r-- | src/portable/st/synopsys/dcd_synopsys.c | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c index f201a02cf..836711974 100644 --- a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c +++ b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c @@ -287,6 +287,14 @@ void dcd_connect(uint8_t rhport) } #endif +void dcd_sof_enable(uint8_t rhport, bool en) +{ + (void) rhport; + (void) en; + + // TODO implement later +} + // Enable device interrupt void dcd_int_enable (uint8_t rhport) { diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c index d7f659340..2fc3adb4f 100644 --- a/src/portable/st/synopsys/dcd_synopsys.c +++ b/src/portable/st/synopsys/dcd_synopsys.c @@ -602,6 +602,13 @@ void dcd_disconnect(uint8_t rhport) dev->DCTL |= USB_OTG_DCTL_SDIS; } +void dcd_sof_enable(uint8_t rhport, bool en) +{ + (void) rhport; + (void) en; + + // TODO implement later +} /*------------------------------------------------------------------*/ /* DCD Endpoint port |
