From bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 31 Oct 2016 13:07:34 +0100 Subject: [PATCH] posix: Fix timer interval Do not overwrite timer interval with initial interval in _POSIX_Timer_Insert(). Close #2798. --- cpukit/posix/src/timersettime.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c index 51678ca5cb..698a47a6b7 100644 --- a/cpukit/posix/src/timersettime.c +++ b/cpukit/posix/src/timersettime.c @@ -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;