diff options
| author | hathach <[email protected]> | 2019-03-30 14:47:11 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-03-30 14:47:11 +0700 |
| commit | b28cc6ddb11ef233b6e6ee25b4a305b4b76cc03c (patch) | |
| tree | de6623830676a997c9328f8996151537c30f5d6f /src/portable/st | |
| parent | cabf6abb4f49648ad6eb1f9cb54bfad131f457b7 (diff) | |
added dcd_remote_wakeup() stub for all ports
Diffstat (limited to 'src/portable/st')
| -rw-r--r-- | src/portable/st/stm32f3/dcd_stm32f3.c | 8 | ||||
| -rw-r--r-- | src/portable/st/stm32f4/dcd_stm32f4.c | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/portable/st/stm32f3/dcd_stm32f3.c b/src/portable/st/stm32f3/dcd_stm32f3.c index 41f82891b..023037474 100644 --- a/src/portable/st/stm32f3/dcd_stm32f3.c +++ b/src/portable/st/stm32f3/dcd_stm32f3.c @@ -55,6 +55,14 @@ void dcd_set_address(uint8_t rhport, uint8_t dev_addr) void dcd_set_config (uint8_t rhport, uint8_t config_num) {} +void dcd_remote_wakeup(uint8_t rhport) +{ + (void) rhport; +} + +//--------------------------------------------------------------------+ +// Endpoint API +//--------------------------------------------------------------------+ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc) { return false; diff --git a/src/portable/st/stm32f4/dcd_stm32f4.c b/src/portable/st/stm32f4/dcd_stm32f4.c index f0d6e7d58..f7128344d 100644 --- a/src/portable/st/stm32f4/dcd_stm32f4.c +++ b/src/portable/st/stm32f4/dcd_stm32f4.c @@ -194,6 +194,11 @@ void dcd_set_config (uint8_t rhport, uint8_t config_num) // Nothing to do } +void dcd_remote_wakeup(uint8_t rhport) +{ + (void) rhport; +} + /*------------------------------------------------------------------*/ /* DCD Endpoint port *------------------------------------------------------------------*/ |
