usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp
changeset 93 2dc695882abd
parent 47 878846f7623e
--- a/usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp	Wed Oct 13 13:08:34 2010 +0300
+++ b/usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp	Mon Oct 25 13:20:29 2010 +0300
@@ -17,6 +17,7 @@
 
 #include <usbuinotif.h>
 #include <d32usbdi_errors.h>
+#include <d32otgdi_errors.h>
 
 #include "cusbotgwatcher.h"
 #include "cusbstatehosthandledropping.h"
@@ -330,7 +331,7 @@
 // ---------------------------------------------------------------------------
 //
 void CUsbStateHostHandleDropping::DeviceAttachedL(
-        TDeviceEventInformation aDevEventInfo)
+        TDeviceEventInformation /*aDevEventInfo*/)
     {
     LOG_FUNC
     }
@@ -385,8 +386,8 @@
 
     switch (aMessage)
         {
-        // USBDI
-        case KEventUsbBadDeviceDetached:
+        // OTGDI
+        case KEventUsbOtgBadDeviceDetached:
             {
             LOG("BadDeviceDetached" );
             ChangeHostStateL( EUsbStateHostUndefined);