File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/unit-tests/ostimer-test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ void UT_os_timerset_test(void)
431
431
* is going to vary per system, it may give you the minimum interval, or it may give
432
432
* you a very jittery result, or in some cases it could even possibly work.
433
433
*/
434
- startTime = 1000 ;
434
+ startTime = g_clkAccuracy * 5 ;
435
435
intervalTime = 5 ;
436
436
437
437
UtPrintf ("\nOS_TimerSet() - #3 Interval-too-short (clk_accuracy=%d)\n" , (int )g_clkAccuracy );
@@ -467,7 +467,7 @@ void UT_os_timerset_test(void)
467
467
g_timerGlobal .callbackMax = 10 ;
468
468
g_timerGlobal .state = UT_TimerState_INIT ;
469
469
470
- startTime = 1000 ;
470
+ startTime = g_clkAccuracy * 5 ;
471
471
intervalTime = 500000 ;
472
472
473
473
UtPrintf ("\nOS_TimerSet() - #4 Nominal condition (clk_accuracy=%d)\n" , (int )g_clkAccuracy );
You can’t perform that action at this time.
0 commit comments