summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-16 20:24:07 +0700
committerhathach <[email protected]>2021-08-16 20:24:07 +0700
commit26d347be17b68b4c4e22cb3af69bb9428d300c3a (patch)
treedcf295cce525e0b70a117a58beaea6e3f3e85101
parentab2eec77d46b0c4984ff0daa13467dde2dc4ad3c (diff)
add note for renesas rx remote wakeup
-rw-r--r--src/portable/renesas/usba/dcd_usba.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable/renesas/usba/dcd_usba.c b/src/portable/renesas/usba/dcd_usba.c
index 739861413..1db1fdb32 100644
--- a/src/portable/renesas/usba/dcd_usba.c
+++ b/src/portable/renesas/usba/dcd_usba.c
@@ -824,6 +824,8 @@ void dcd_int_handler(uint8_t rhport)
* Therefore we need to manually send resume event.
* Of course, when USB host resumes on its own,
* RESM interrupt rise properly, then this statements are ignored. */
+ // TODO can be dropped since this logic is implemented by usbd
+ // USBD will exit suspended mode when SOF event is received
dcd_event_bus_signal(rhport, DCD_EVENT_RESUME, true);
_dcd.suspended = 0;
}