From e0842bde74f0f709ef43ce6ea26b954952e96779 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Fri, 17 Feb 2023 17:27:11 +0100 Subject: [PATCH] Update PRV bay callback call --- src/emu/pv/prv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/pv/prv.c b/src/emu/pv/prv.c index dfdbdf4..95c527d 100644 --- a/src/emu/pv/prv.c +++ b/src/emu/pv/prv.c @@ -167,7 +167,7 @@ prv_register(struct prv *prv, long row, long type, struct bay *bay, struct chan rchan->flags = flags; /* Add emit callback */ - if (bay_add_cb(bay, BAY_CB_EMIT, chan, cb_prv, rchan) != 0) { + if (bay_add_cb(bay, BAY_CB_EMIT, chan, cb_prv, rchan, 1) == NULL) { err("bay_add_cb failed"); return -1; }