Allow VID:PID override for JLink probe

This commit is contained in:
Viktor P
2023-04-17 19:15:04 +03:00
parent d60a1039a0
commit 4100675a6b
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ void Jtag::init_internal(const cable_t &cable, const string &dev, const string &
_jtag = new DirtyJtag(clkHZ, _verbose);
break;
case MODE_JLINK:
_jtag = new Jlink(clkHZ, _verbose);
_jtag = new Jlink(clkHZ, _verbose, cable.vid, cable.pid);
break;
case MODE_USBBLASTER:
_jtag = new UsbBlaster(cable, firmware_path, _verbose);