usbengines/usbotgwatcher/src/cusbtimer.cpp
branchRCL_3
changeset 64 8ecef05bbada
parent 0 1e05558e2206
child 20 a15c582fbf97
equal deleted inserted replaced
8:7e15987c4500 64:8ecef05bbada
    74 //
    74 //
    75 void CUsbTimer::After(TInt aMilliseconds)
    75 void CUsbTimer::After(TInt aMilliseconds)
    76     {
    76     {
    77 //        FTRACE(FPrint(_L( "[USBOTGWATCHER]\tCUsbTimer::After aMilliseconds %d, timerId=%d" ), aMilliseconds, iTimerId))
    77 //        FTRACE(FPrint(_L( "[USBOTGWATCHER]\tCUsbTimer::After aMilliseconds %d, timerId=%d" ), aMilliseconds, iTimerId))
    78 
    78 
    79     if (IsActive()) // should we panic here? or just restart timer
    79     if (IsActive()) 
    80         {
    80         {
    81         Cancel();
    81         Cancel();
    82         }
    82         }
    83 
    83 
    84     // RunL will be called after KInactiveTimeForShutDown milliseconds
    84     // RunL will be called after KInactiveTimeForShutDown milliseconds