Fix: live timer calculation error
authorMikael Beckius <mikael.beckius@windriver.com>
Tue, 12 May 2015 09:04:34 +0000 (11:04 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 21 Oct 2015 19:43:36 +0000 (15:43 -0400)
commit926fe9925eeb84e7ef023d8710a0515dba1b8a01
tree248a268f85c777917005b8c4664d89d518e80c69
parent044a659dc04c796c6f552a1198e21656769b9f57
Fix: live timer calculation error

There is an calculation error for live timer. Variable
chan->switch_timer_interval is based on microsecond, and it is not right
to assign chan->switch_timer_interval mod 1000000 to var tv_nsec which
is based on nanosecond.

Signed-off-by: Mikael Beckius <mikael.beckius@windriver.com>
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c
This page took 0.024378 seconds and 4 git commands to generate.