pyOCD
pyOCD copied to clipboard
probe: Fix index error when calling jtag_sequence with read_tdo=0
Add range check before accessing resp[2]
. If calling with read_tdo=0
, resp[2]
is not exist.
Add range check before accessing resp[2]
. If calling with read_tdo=0
, resp[2]
is not exist.