summaryrefslogtreecommitdiff
path: root/nuttx/sched/sched/sched_timerexpiration.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sched/sched_timerexpiration.c')
-rw-r--r--nuttx/sched/sched/sched_timerexpiration.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/sched/sched/sched_timerexpiration.c b/nuttx/sched/sched/sched_timerexpiration.c
index 2b1117fec..d56827ed1 100644
--- a/nuttx/sched/sched/sched_timerexpiration.c
+++ b/nuttx/sched/sched/sched_timerexpiration.c
@@ -467,12 +467,9 @@ static void sched_timer_start(unsigned int ticks)
ret = up_timer_start(&ts);
#endif
- /* [Re-]start the interval timer */
-
- ret = up_timer_start(&ts);
if (ret < 0)
{
- slldbg("ERROR: up_timer_start failed: %d\n");
+ slldbg("ERROR: up_timer_start/up_alarm_start failed: %d\n");
UNUSED(ret);
}
}