diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-18 12:10:30 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-18 12:10:30 +0000 |
commit | fc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch) | |
tree | bc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Demos/Device/ClassDriver/MassStorage | |
parent | 55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff) | |
download | lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.gz lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.bz2 lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.zip |
Add const keyword to the demo function parameters where possible.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorage')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorage/MassStorage.c | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/MassStorage/MassStorage.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/MassStorage/MassStorage.c b/Demos/Device/ClassDriver/MassStorage/MassStorage.c index 36cc02035..ce8e04bc9 100644 --- a/Demos/Device/ClassDriver/MassStorage/MassStorage.c +++ b/Demos/Device/ClassDriver/MassStorage/MassStorage.c @@ -125,7 +125,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void) *
* \param[in] MSInterfaceInfo Pointer to the Mass Storage class interface configuration structure being referenced
*/
-bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo)
+bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo)
{
bool CommandSuccess;
diff --git a/Demos/Device/ClassDriver/MassStorage/MassStorage.h b/Demos/Device/ClassDriver/MassStorage/MassStorage.h index adbae45c4..2c7fa7d7f 100644 --- a/Demos/Device/ClassDriver/MassStorage/MassStorage.h +++ b/Demos/Device/ClassDriver/MassStorage/MassStorage.h @@ -81,6 +81,6 @@ void EVENT_USB_Device_ConfigurationChanged(void);
void EVENT_USB_Device_UnhandledControlRequest(void);
- bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* MSInterfaceInfo);
+ bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo);
#endif
|