diff options
| author | Kamil Tomaszewski <[email protected]> | 2019-10-07 14:04:48 +0200 |
|---|---|---|
| committer | Kamil Tomaszewski <[email protected]> | 2019-10-07 14:04:48 +0200 |
| commit | 992360422113d15266552c5e488d87e0db60345e (patch) | |
| tree | 610ec93f539883271cc89514f1c24b3eae4bbe35 /src | |
| parent | b3872febe2651d51a08941352dc1a5e66df74d4b (diff) | |
Send SUSPEND and RESUME signals
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/sony/cxd56/dcd_cxd56.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/portable/sony/cxd56/dcd_cxd56.c b/src/portable/sony/cxd56/dcd_cxd56.c index 3698e5103..38f3b5c75 100644 --- a/src/portable/sony/cxd56/dcd_cxd56.c +++ b/src/portable/sony/cxd56/dcd_cxd56.c @@ -141,12 +141,16 @@ static void dcd_suspend(FAR struct usbdevclass_driver_s *driver, FAR struct usbd { (void) driver; (void) dev; + + dcd_event_bus_signal(0, DCD_EVENT_SUSPEND, true); } static void dcd_resume(FAR struct usbdevclass_driver_s *driver, FAR struct usbdev_s *dev) { (void) driver; (void) dev; + + dcd_event_bus_signal(0, DCD_EVENT_RESUME, true); } void dcd_init(uint8_t rhport) |
