forked from Imagelibrary/rtems
posix: Fix timer interval
Do not overwrite timer interval with initial interval in _POSIX_Timer_Insert(). Close #2798.
This commit is contained in:
@@ -35,8 +35,6 @@ static void _POSIX_Timer_Insert(
|
||||
Watchdog_Interval ticks
|
||||
)
|
||||
{
|
||||
ptimer->ticks = ticks;
|
||||
|
||||
/* The state really did not change but just to be safe */
|
||||
ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user