diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-23 08:45:46 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-06-23 08:45:46 +0000 |
commit | bb23e55f11a42f6214757483d010ebd24377caeb (patch) | |
tree | fca0df94ed5d2abf2ef6db0afa13711ca36c9569 /LUFA/Drivers/USB/Class | |
parent | a3a04aa6719a891a1350179d5ac451c3e18c3bf2 (diff) | |
download | lufa-bb23e55f11a42f6214757483d010ebd24377caeb.tar.gz lufa-bb23e55f11a42f6214757483d010ebd24377caeb.tar.bz2 lufa-bb23e55f11a42f6214757483d010ebd24377caeb.zip |
Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.
Diffstat (limited to 'LUFA/Drivers/USB/Class')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/MassStorage.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)
|