diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-01-04 10:45:02 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-01-04 10:45:02 +1100 |
commit | e368a899871fe9ecccdcac85019d15c73e13ced7 (patch) | |
tree | 0e71f62c4572dc2a9dca70ad2c2caccbaa398fb4 /LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c | |
parent | 510d29d4728597f43ec6b218ef25b20e17c8b09e (diff) | |
download | lufa-e368a899871fe9ecccdcac85019d15c73e13ced7.tar.gz lufa-e368a899871fe9ecccdcac85019d15c73e13ced7.tar.bz2 lufa-e368a899871fe9ecccdcac85019d15c73e13ced7.zip |
Update copyrights for 2014.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c b/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c index feb2951c5..d0907963a 100644 --- a/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c +++ b/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2014. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -136,7 +136,7 @@ static bool MS_Device_ReadInCommandBlock(USB_ClassInfo_MS_Device_t* const MSInte uint16_t BytesProcessed; Endpoint_SelectEndpoint(MSInterfaceInfo->Config.DataOUTEndpoint.Address); - + BytesProcessed = 0; while (Endpoint_Read_Stream_LE(&MSInterfaceInfo->State.CommandBlock, (sizeof(MS_CommandBlockWrapper_t) - 16), &BytesProcessed) == @@ -151,7 +151,7 @@ static bool MS_Device_ReadInCommandBlock(USB_ClassInfo_MS_Device_t* const MSInte (MSInterfaceInfo->State.CommandBlock.Flags & 0x1F) || (MSInterfaceInfo->State.CommandBlock.SCSICommandLength == 0) || (MSInterfaceInfo->State.CommandBlock.SCSICommandLength > 16)) - { + { Endpoint_StallTransaction(); Endpoint_SelectEndpoint(MSInterfaceInfo->Config.DataINEndpoint.Address); Endpoint_StallTransaction(); |