diff options
author | Dean Camera <[email protected]> | 2009-06-11 06:15:45 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-06-11 06:15:45 +0000 |
commit | 9798440ca4f694e7cd8312a51b82e59589f1ebeb (patch) | |
tree | daf8898224f4acd5092ecd54eb0cdf1a6a747664 /Demos/Device/ClassDriver/MassStorage/MassStorage.c | |
parent | b2330934b9ccd51a59183eb2a11fdd95183df27b (diff) | |
download | qmk_firmware-9798440ca4f694e7cd8312a51b82e59589f1ebeb.tar.gz qmk_firmware-9798440ca4f694e7cd8312a51b82e59589f1ebeb.zip |
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorage/MassStorage.c')
-rw-r--r-- | Demos/Device/ClassDriver/MassStorage/MassStorage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/ClassDriver/MassStorage/MassStorage.c b/Demos/Device/ClassDriver/MassStorage/MassStorage.c index 5dbc4a2cc3..66bba8f504 100644 --- a/Demos/Device/ClassDriver/MassStorage/MassStorage.c +++ b/Demos/Device/ClassDriver/MassStorage/MassStorage.c @@ -64,7 +64,7 @@ int main(void) for (;;)
{
- USB_MS_USBTask(&Disk_MS_Interface);
+ MS_Device_USBTask(&Disk_MS_Interface);
USB_USBTask();
}
}
@@ -105,21 +105,21 @@ void EVENT_USB_ConfigurationChanged(void) {
LEDs_SetAllLEDs(LEDMASK_USB_READY);
- if (!(USB_MS_ConfigureEndpoints(&Disk_MS_Interface)))
+ if (!(MS_Device_ConfigureEndpoints(&Disk_MS_Interface)))
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
}
/** Event handler for the library USB Unhandled Control Packet event. */
void EVENT_USB_UnhandledControlPacket(void)
{
- USB_MS_ProcessControlPacket(&Disk_MS_Interface);
+ MS_Device_ProcessControlPacket(&Disk_MS_Interface);
}
/** Mass Storage class driver callback function the reception of SCSI commands from the host, which must be processed.
*
* \param MSInterfaceInfo Pointer to the Mass Storage class interface configuration structure being referenced
*/
-bool CALLBACK_USB_MS_SCSICommandReceived(USB_ClassInfo_MS_t* MSInterfaceInfo)
+bool CALLBACK_MS_Device_SCSICommandReceived(USB_ClassInfo_MS_t* MSInterfaceInfo)
{
bool CommandSuccess;
|