uiacceltk/hitchcock/backgroundanim/src/highrestimer.cpp
branchRCL_3
changeset 22 7c5dd702d6d3
parent 8 10534483575f
equal deleted inserted replaced
17:3ac8bf5c5014 22:7c5dd702d6d3
    37 	TInt wait = aWaitInMilliSecs*1000;
    37 	TInt wait = aWaitInMilliSecs*1000;
    38 	if (wait < 1000)
    38 	if (wait < 1000)
    39 	    {
    39 	    {
    40 	    wait = 1000;
    40 	    wait = 1000;
    41 	    }
    41 	    }
    42 	if (wait > 100000)
    42 	if (wait > 5000000)
    43 	    {
    43 	    {
    44 	    wait = 100000;
    44 	    wait = 5000000;
    45 	    }
    45 	    }
    46             
    46             
    47     HighRes( TTimeIntervalMicroSeconds32( wait ) );
    47     HighRes( TTimeIntervalMicroSeconds32( wait ) );
    48 	}
    48 	}
    49 	
    49