Attention is currently required from: manawyrm, roox.

laforge uploaded patch set #2 to this change.

View Change

octoi: Fix frame_rifo_depth() function

We use the 'correct' math in frame_rifo_depth now so the
count is accurate down to zero.

We need to fixup the logic that drags the 'write pointer'
(last_in_fn) along when reading from an empty FIFO.

We also need proper init (which was missing alltogether
beforehand).

Change-Id: I088f181e74358eb2c96a7aab7a7c875b9276d980
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
---
M src/octoi/frame_rifo.c
M src/octoi/frame_rifo.h
2 files changed, 6 insertions(+), 4 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/48/27848/2

To view, visit change 27848. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I088f181e74358eb2c96a7aab7a7c875b9276d980
Gerrit-Change-Number: 27848
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: manawyrm <osmocom.account@tbspace.de>
Gerrit-Reviewer: roox <mardnh@gmx.de>
Gerrit-CC: tnt <tnt@246tNt.com>
Gerrit-Attention: manawyrm <osmocom.account@tbspace.de>
Gerrit-Attention: roox <mardnh@gmx.de>
Gerrit-MessageType: newpatchset