usbengines/usbotgwatcher/src/cusbstatehostdelaynotattachedhandle.cpp
branchRCL_3
changeset 7 ff9df6630274
parent 6 a15c582fbf97
--- a/usbengines/usbotgwatcher/src/cusbstatehostdelaynotattachedhandle.cpp	Fri Mar 12 15:48:40 2010 +0200
+++ b/usbengines/usbotgwatcher/src/cusbstatehostdelaynotattachedhandle.cpp	Mon Mar 15 12:44:42 2010 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
+ * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
  * All rights reserved.
  * This component and the accompanying materials are made available
  * under the terms of "Eclipse Public License v1.0"
@@ -118,7 +118,7 @@
         default:
             {
             LOG1("Unexpected request id = %d", iWhat);
-            Panic( EUnexpectedSituationToHandle);
+            PANIC( EUnexpectedSituationToHandle);
             break;
             }
         }
@@ -146,7 +146,7 @@
         TDeviceEventInformation)
     {
     LOG_FUNC
-    Panic( EDeviceDetachedNotExpected);
+    PANIC( EDeviceDetachedNotExpected);
 
     }
 
@@ -163,14 +163,14 @@
         case ETooMuchPowerRequiredTimer:
             {
             LOG("ETooMuchPowerRequiredTimer" );
-            HandleL(EUsbWatcherErrDeviceRequiresTooMuchPower,
+            HandleL(EUsbWatcherErrUnsupportedDevice,
                     EUsbStateHostHandleDropping);
             break;
             }
         default:
             {
             LOG1("Unknown timer id = %d", aTimerId );
-            Panic( EWrongTimerId);
+            PANIC( EWrongTimerId);
             }
         }
     }