equal
deleted
inserted
replaced
357 KUsbWatcherSelectedPersonality ); |
357 KUsbWatcherSelectedPersonality ); |
358 |
358 |
359 iUSBTimer = CCamTimer::NewL( KUSBTimeout, TCallBack(USBTimerCallBack, this)); |
359 iUSBTimer = CCamTimer::NewL( KUSBTimeout, TCallBack(USBTimerCallBack, this)); |
360 CleanupStack::Pop(); // listener |
360 CleanupStack::Pop(); // listener |
361 CleanupStack::Pop(); // listener 2 |
361 CleanupStack::Pop(); // listener 2 |
|
362 //if USB has been inserted as Mass Storage, USB timer need to start |
|
363 TInt value = 0; |
|
364 iUsbMSWatcher->Get( value ); |
|
365 if( iUSBTimer && KUsbPersonalityIdMS == value ) |
|
366 { |
|
367 iUSBTimer->Cancel(); |
|
368 iUSBTimer->StartTimer(); |
|
369 } |
362 |
370 |
363 StartMonitoring(); |
371 StartMonitoring(); |
364 |
372 |
365 } |
373 } |
366 |
374 |