diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-23 22:59:58 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-08-23 22:59:58 +0200 |
commit | aded8373cc07cc749b6ca0f862ba119828f26601 (patch) | |
tree | 6fcfe16ca39d7757d6b3141266f4b5cd67cc5d8e /LUFA/Drivers/USB/Class/Host | |
parent | 44bc433fb0694ecea05bf35d001f3e5d846b7ec4 (diff) | |
download | lufa-aded8373cc07cc749b6ca0f862ba119828f26601.tar.gz lufa-aded8373cc07cc749b6ca0f862ba119828f26601.tar.bz2 lufa-aded8373cc07cc749b6ca0f862ba119828f26601.zip |
Fixed error receiving PIMA events via the Still Image Host class driver.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/StillImageClassHost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c b/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c index bcdd1d613..5b317f9fb 100644 --- a/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c +++ b/LUFA/Drivers/USB/Class/Host/StillImageClassHost.c @@ -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(); |