From 7731c090ee9b56f65e0f770b8dd1957031312516 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 21 Feb 2023 15:37:43 +0100 Subject: [PATCH] Run a propagation phase after connect --- src/emu/emu.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/emu/emu.c b/src/emu/emu.c index 2867158..18550c9 100644 --- a/src/emu/emu.c +++ b/src/emu/emu.c @@ -82,6 +82,13 @@ emu_connect(struct emu *emu) return -1; } + /* Run a propagation phase so we clean all the dirty channels, in + * particular the select channel of the muxes */ + if (bay_propagate(&emu->bay) != 0) { + err("bay_propagate failed"); + return -1; + } + return 0; }