- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am building an audio device and the host sends some class specific requests. I have added some code to CyFxUVCApplnUSBSetupCB () to handle these. The host sends two requests but only the first gets handled by the function (I have a print statement so I can see when it gets called). Do I have to do anything special apart from set isHandled = CyTrue.
Thanks
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jon,
Could you please add that piece of code (or entire source project, if possible) to this thread.
Thanks,
Sai Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There was some code left in from the example project.
while (bType == bType)
{
CyU3PBusyWait (10);
}
This was stopping it working.
Thanks
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jon,
while (bType == bType)
Are you trying to implement a while(1) loop using the above code.
Thanks,
Sai Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didnt add that code, it was from a Cypress example firmware project.
Jon