equal
deleted
inserted
replaced
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2000-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of the License "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
83 if (!(iDeviceState & KUsbAlternateSetting) && gVerbose) |
83 if (!(iDeviceState & KUsbAlternateSetting) && gVerbose) |
84 { |
84 { |
85 switch (iDeviceState) |
85 switch (iDeviceState) |
86 { |
86 { |
87 case EUsbcDeviceStateUndefined: |
87 case EUsbcDeviceStateUndefined: |
|
88 #ifdef USB_SC |
|
89 TUSB_PRINT("Device State notifier: Undefined0"); |
|
90 for (TUint16 i =0; i < KMaxConcurrentTests; i++) |
|
91 { |
|
92 if (gRW[i]) |
|
93 { |
|
94 TUSB_VERBOSE_PRINT2("ResetAltSetting index %d, LDD %x",i, gRW[i]->Ldd()); |
|
95 gRW[i]->Ldd()->ResetAltSetting(); |
|
96 } |
|
97 } |
|
98 #endif |
88 TUSB_PRINT("Device State notifier: Undefined"); |
99 TUSB_PRINT("Device State notifier: Undefined"); |
89 break; |
100 break; |
90 case EUsbcDeviceStateAttached: |
101 case EUsbcDeviceStateAttached: |
91 TUSB_PRINT("Device State notifier: Attached"); |
102 TUSB_PRINT("Device State notifier: Attached"); |
92 break; |
103 break; |