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:39 +0000 (15:43 -0400)
commit049e5e626bedade0547cd9ee4b200bc91dc5ef44
tree7bd308b150c7ce0e7772e0bcef1175767e79a3b6
parent283fc55ce85946d9a632fbee762e85787da3b8b0
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.025178 seconds and 4 git commands to generate.