equal
deleted
inserted
replaced
31 static TBool UsbConnected( TUsbDeviceState aDeviceState ) |
31 static TBool UsbConnected( TUsbDeviceState aDeviceState ) |
32 { |
32 { |
33 INFO_LOG1( "UsbConnected - %d", aDeviceState); |
33 INFO_LOG1( "UsbConnected - %d", aDeviceState); |
34 |
34 |
35 if ( aDeviceState == EUsbDeviceStateAttached || aDeviceState == EUsbDeviceStatePowered || |
35 if ( aDeviceState == EUsbDeviceStateAttached || aDeviceState == EUsbDeviceStatePowered || |
36 aDeviceState == EUsbDeviceStateUndefined) |
36 aDeviceState == EUsbDeviceStateUndefined || aDeviceState == EUsbDeviceStateSuspended ) |
37 { |
37 { |
38 RDebug::Print(_L("return false ")); |
38 RDebug::Print(_L("return false ")); |
39 return EFalse; |
39 return EFalse; |
40 } |
40 } |
41 else |
41 else |