Skip to content
Snippets Groups Projects
Commit 883294b0 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

DOH! Lock the device and THEN configure the byte enable.

parent fd32aa66
Branches
Tags
No related merge requests found
......@@ -91,11 +91,11 @@ static void etherbone_process(struct etherbone_context* context)
if (left < record_len) break;
/* Configure byte enable and raise cycle line */
wops->byteenable(wb, be);
if (context->state == idle) {
wops->cycle(wb, 1);
context->state = cycle;
}
wops->byteenable(wb, be);
/* Process the writes */
if (wcount > 0) {
......
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