Allow the select channel as input in a mux
Required to implement the tr channel in the breakdown model. See https://pm.bsc.es/gitlab/rarias/ovni/-/issues/101
This commit is contained in:
parent
c624374cc8
commit
1909d8106c
@ -223,11 +223,6 @@ mux_set_input(struct mux *mux, int64_t index, struct chan *chan)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chan == mux->select) {
|
|
||||||
err("cannot use same input channel as select");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
struct mux_input *input = &mux->inputs[index];
|
struct mux_input *input = &mux->inputs[index];
|
||||||
|
|
||||||
if (input->chan != NULL) {
|
if (input->chan != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user