Skip to content

Commit

Permalink
jtag_scan: Deliver full idcode to the handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweBonnes committed Aug 15, 2021
1 parent 0d78331 commit 1845d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/jtag_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ int jtag_scan(const uint8_t *irlens)
jtag_devs[i].jd_descr = dev_descr[j].descr;
/* Call handler to initialise/probe device further */
if(dev_descr[j].handler)
dev_descr[j].handler(i, dev_descr[j].idcode);
dev_descr[j].handler(i, jtag_devs[i].jd_idcode);
break;
}

Expand Down

0 comments on commit 1845d71

Please sign in to comment.