[rtems commit] posix: Fix timer interval
Sebastian Huber
sebh at rtems.org
Mon Oct 31 12:37:37 UTC 2016
Module: rtems
Branch: master
Commit: bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb
Changeset: http://git.rtems.org/rtems/commit/?id=bb9f09f34c9bdcf4d2631a1fd317bcefd8426efb
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Oct 31 13:07:34 2016 +0100
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 51678ca..698a47a 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;
More information about the vc
mailing list