Rockbox mail archiveSubject: Re: USB on AMSv2 (clip+, fuzev2): call for testers
Re: USB on AMSv2 (clip+, fuzev2): call for testers
From: E. Toernig <froese_at_gmx.de>
Date: Sun, 10 Oct 2010 23:07:03 +0200
Amaury Pouly wrote:
>... seems to indicate that the problem lies in the
> initialization code but we have been unable to fix it.
Just a quick check - in reset_endpoints:
| /* Setup next chain for IN eps */
| FOR_EACH_IN_EP_AND_EP0(i, ep)
| int next_ep = in_ep_list[(i + 2) % (NUM_IN_EP + 1)];
| DIEPCTL(ep) = (DIEPCTL(ep) & ~bitm(DEPCTL, nextep)) | (next_ep << DEPCTL_nextep_bitp);
Is the "i + 2" correct?
Received on 2010-10-10