equal
deleted
inserted
replaced
1902 TTemplateAsspUsbcc* const ptr = static_cast<TTemplateAsspUsbcc*>(aPtr); |
1902 TTemplateAsspUsbcc* const ptr = static_cast<TTemplateAsspUsbcc*>(aPtr); |
1903 ptr->iCableConnected = ptr->iAssp->UsbClientConnectorInserted(); |
1903 ptr->iCableConnected = ptr->iAssp->UsbClientConnectorInserted(); |
1904 #ifdef _DEBUG |
1904 #ifdef _DEBUG |
1905 _LIT(KIns, "inserted"); |
1905 _LIT(KIns, "inserted"); |
1906 _LIT(KRem, "removed"); |
1906 _LIT(KRem, "removed"); |
1907 __KTRACE_OPT(KUSB, Kern::Printf(" > USB cable now %lS", ptr->iCableConnected ? &KIns : &KRem)); |
1907 __KTRACE_OPT(KUSB, Kern::Printf(" > USB cable now %S", ptr->iCableConnected ? &KIns : &KRem)); |
1908 #endif |
1908 #endif |
1909 if (ptr->iCableConnected) |
1909 if (ptr->iCableConnected) |
1910 { |
1910 { |
1911 ptr->DeviceEventNotification(EUsbEventCableInserted); |
1911 ptr->DeviceEventNotification(EUsbEventCableInserted); |
1912 } |
1912 } |