This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10227 - Add clarifying comment in usb-drv-arc.c
Attached to Project:
Rockbox
Opened by Tomer Shalev (tomers) - Friday, 22 May 2009, 06:37 GMT+2
Last edited by Frank Gevaerts (fg) - Saturday, 23 May 2009, 16:50 GMT+2
Opened by Tomer Shalev (tomers) - Friday, 22 May 2009, 06:37 GMT+2
Last edited by Frank Gevaerts (fg) - Saturday, 23 May 2009, 16:50 GMT+2
|
DetailsAdd the following comment to the code:
"manual: 32.9.5.18 (Caution): Leaving an unconfigured endpoint control will cause undefined behavior for the data pid tracking on the active endpoint/direction." Also minor cosmetic changes. |
This task depends upon
Closed by Frank Gevaerts (fg)
Saturday, 23 May 2009, 16:50 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r21055
Saturday, 23 May 2009, 16:50 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r21055
Actually, I'd prefer fixing the code to actually avoid this undefined behaviour. I'll try to have a go at this soon.
I didn't read this properly, there is indeed nothing to fix. I'll commit