diff options
| author | Ha Thach <[email protected]> | 2022-05-31 22:25:14 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-31 22:25:14 +0700 |
| commit | fdeac8508be5cdd95966422d1e776604efbc9b3f (patch) | |
| tree | e3e1ddf37ebd5500145ac610239f2d5baeceb6fa /src/portable/mentor/musb | |
| parent | ab7c23a787a024dcaadb698c9d7533ad85209cd7 (diff) | |
| parent | e384d16d576089daa3a5c993ead06cffb7a50cbe (diff) | |
Merge pull request #1381 from hathach/add-sof-isr
Add SOF IRQ Handler
Diffstat (limited to 'src/portable/mentor/musb')
| -rw-r--r-- | src/portable/mentor/musb/dcd_musb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/portable/mentor/musb/dcd_musb.c b/src/portable/mentor/musb/dcd_musb.c index d36585592..0ba53d4d0 100644 --- a/src/portable/mentor/musb/dcd_musb.c +++ b/src/portable/mentor/musb/dcd_musb.c @@ -648,6 +648,14 @@ void dcd_disconnect(uint8_t rhport) USB0->POWER &= ~USB_POWER_SOFTCONN; } +void dcd_sof_enable(uint8_t rhport, bool en) +{ + (void) rhport; + (void) en; + + // TODO implement later +} + //--------------------------------------------------------------------+ // Endpoint API //--------------------------------------------------------------------+ |
