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

pull/1469/head
Dean Camera 12 years ago
parent 44bc433fb0
commit aded8373cc

@ -43,6 +43,7 @@
* - Fixed incorrect USB device state set when a suspended LUFA device is woken while addressed but not configured (thanks to Balaji Krishnan)
* - Fixed broken USART SPI driver for the AVR8 architecture due to incorrect initialization
* - Fixed re-enumeration issue of XMEGA architecture targets (thanks to Jaroslav Jedlinsky)
* - Fixed error receiving PIMA events via the Still Image Host class driver
* - Library Applications:
* - Added handler for SCSI_CMD_START_STOP_UNIT in demos using the Mass Storage class, to prevent ejection errors on *nix systems due to an
* unknown SCSI command

@ -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();

Loading…
Cancel
Save