Fixed error receiving PIMA events via the Still Image Host class driver.

This commit is contained in:
Dean Camera committed 2013-08-23 22:59:58 +02:00
1 parent 44bc433fb0
commit aded8373cc
3 files changed
+10 -9

No files matched your search

@@ -302,7 +302,7 @@ bool SI_Host_IsEventReceived(USB_ClassInfo_SI_Host_t* const SIInterfaceInfo)
Pipe_SelectPipe(SIInterfaceInfo->Config.EventsPipe.Address);
Pipe_Unfreeze();
if (Pipe_BytesInPipe())
if (Pipe_IsINReceived())
IsEventReceived = true;
Pipe_Freeze();