From 024152b03e9331aba3e9562ad634a774eece0f10 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Fri, 21 Jan 2022 20:52:28 -0500 Subject: [PATCH] Revert "jtag_scan: Deliver full idcode to the handler." This reverts commit 1845d71f00dda59849254bbddb3c4c00f556d35c. --- src/target/jtag_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/jtag_scan.c b/src/target/jtag_scan.c index 04a8cca..f35aa67 100644 --- a/src/target/jtag_scan.c +++ b/src/target/jtag_scan.c @@ -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, jtag_devs[i].jd_idcode); + dev_descr[j].handler(i, dev_descr[i].idcode); break; }