Commit fd32aa66 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra

When a record has no reads, correctly advance the pointer.

This never appeared until now because it only failed if two records appeared at once.
parent 03df8afd
......@@ -150,6 +150,8 @@ static void etherbone_process(struct etherbone_context* context)
i = RING_INDEX(i + sizeof(wb_data_t));
}
}
} else {
i = RING_INDEX(i + sizeof(wb_data_t));
}
if ((flags & ETHERBONE_CYC) != 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment