X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/a3a04aa6719a891a1350179d5ac451c3e18c3bf2..bb23e55f11a42f6214757483d010ebd24377caeb:/LUFA/Drivers/USB/Class/Device/MassStorage.c diff --git a/LUFA/Drivers/USB/Class/Device/MassStorage.c b/LUFA/Drivers/USB/Class/Device/MassStorage.c index a70ed68ce..073111e64 100644 --- a/LUFA/Drivers/USB/Class/Device/MassStorage.c +++ b/LUFA/Drivers/USB/Class/Device/MassStorage.c @@ -131,11 +131,11 @@ void MS_Device_USBTask(USB_ClassInfo_MS_Device_t* MSInterfaceInfo) Endpoint_ClearStall(); Endpoint_SelectEndpoint(MSInterfaceInfo->Config.DataINEndpointNumber); Endpoint_ClearStall(); - - MSInterfaceInfo->State.IsMassStoreReset = false; } } } + + MSInterfaceInfo->State.IsMassStoreReset = false; } static bool MS_Device_ReadInCommandBlock(USB_ClassInfo_MS_Device_t* MSInterfaceInfo)