jtag_scan: Deliver full idcode to the handler.

This commit is contained in:
Uwe Bonnes 2020-12-28 14:31:49 +01:00 committed by UweBonnes
parent 0d78331149
commit 1845d71f00
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}