Fix Webserver project code not compiling due to the changes to the USB mode selection constant names.

This commit is contained in:
Dean Camera 2010-10-12 12:25:05 +00:00
parent 7aaced1e8b
commit 3693916cd3
4 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ USB_ClassInfo_MS_Device_t Disk_MS_Interface =
*/
void USBDeviceMode_USBTask(void)
{
if (USB_CurrentMode != USB_MODE_DEVICE)
if (USB_CurrentMode != USB_MODE_Device)
return;
MS_Device_USBTask(&Disk_MS_Interface);