Call to GetSetupPacker now uses XUD_Result_t

This commit is contained in:
Ross Owen
2014-02-14 16:21:06 +00:00
parent 7c83dcb0cd
commit 80920296d7

View File

@@ -232,7 +232,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
while(1)
{
/* Returns 0 for success, -1 for bus reset */
int retVal = USB_GetSetupPacket(ep0_out, ep0_in, sp);
XUD_Result_t retVal = USB_GetSetupPacket(ep0_out, ep0_in, sp);
if (!retVal)
{