diff --git a/jtag/src/part/part.c b/jtag/src/part/part.c index c4e5907a..597965b2 100644 --- a/jtag/src/part/part.c +++ b/jtag/src/part/part.c @@ -191,7 +191,7 @@ part_set_signal( part *p, const char *pname, int out, int val ) return; } if (s->output) - bsr->in->data[s->output->control] = p->bsbits[s->output->control]->control_value; + bsr->in->data[s->output->control] = p->bsbits[s->output->bit]->control_value; } }