diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-31 13:07:34 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-10-31 13:09:56 +0100 |
commit | bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb (patch) | |
tree | 645e92728a6fb3864cca12bfb5efc1cb1be7c25c | |
parent | posix: Fix timeout handling in sigtimedwait() (diff) | |
download | rtems-bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb.tar.bz2 |
posix: Fix timer interval
Do not overwrite timer interval with initial interval in
_POSIX_Timer_Insert().
Close #2798.
-rw-r--r-- | cpukit/posix/src/timersettime.c | 2 |
1 files changed, 0 insertions, 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; |