usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp
branchRCL_3
changeset 24 e02eb84a14d2
parent 23 25fce757be94
--- a/usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp	Tue Aug 31 16:13:57 2010 +0300
+++ b/usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp	Wed Sep 01 12:20:49 2010 +0100
@@ -17,6 +17,7 @@
 
 #include <usbuinotif.h>
 #include <d32usbdi_errors.h>
+#include <d32otgdi_errors.h>
 
 #include "cusbotgwatcher.h"
 #include "cusbstatehosthandledropping.h"
@@ -385,8 +386,8 @@
 
     switch (aMessage)
         {
-        // USBDI
-        case KEventUsbBadDeviceDetached:
+        // OTGDI
+        case KEventUsbOtgBadDeviceDetached:
             {
             LOG("BadDeviceDetached" );
             ChangeHostStateL( EUsbStateHostUndefined);