projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed interrupt disable/enable from the Device mode control request processing...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
MassStorage
/
MassStorage.c
diff --git
a/Demos/Device/ClassDriver/MassStorage/MassStorage.c
b/Demos/Device/ClassDriver/MassStorage/MassStorage.c
index
87da975
..
6a4612e
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/MassStorage.c
+++ b/
Demos/Device/ClassDriver/MassStorage/MassStorage.c
@@
-54,11
+54,6
@@
USB_ClassInfo_MS_Device_t Disk_MS_Interface =
\r
.TotalLUNs = TOTAL_LUNS,
\r
},
\r
\r
.TotalLUNs = TOTAL_LUNS,
\r
},
\r
-
\r
- .State =
\r
- {
\r
- // Leave all state values to their defaults
\r
- }
\r
};
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r
};
\r
\r
/** Main program entry point. This routine contains the overall program flow, including initial
\r
@@
-125,7
+120,7
@@
void EVENT_USB_UnhandledControlPacket(void)
\r
/** Mass Storage class driver callback function the reception of SCSI commands from the host, which must be processed.
\r
*
\r
\r
/** Mass Storage class driver callback function the reception of SCSI commands from the host, which must be processed.
\r
*
\r
- * \param MSInterfaceInfo Pointer to the Mass Storage class interface configuration structure being referenced
\r
+ * \param
[in]
MSInterfaceInfo Pointer to the Mass Storage class interface configuration structure being referenced
\r
*/
\r
bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo)
\r
{
\r
*/
\r
bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo)
\r
{
\r