resourcemgmt/hwrmfmtxwatcherplugin/src/hwrmfmtxusbobserver.cpp
branchRCL_3
changeset 10 1fc153c72b60
parent 0 4e1aa6a622a0
equal deleted inserted replaced
8:6bb05bdcbe09 10:1fc153c72b60
    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