presto: fix tms_sequence short issue
fix issue when using tms_sequence short see Trac #31 Change-Id: I22a9cd2af59eae4d8a276dae60b6a99d05af53bb Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/201 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
parent
e5e2408680
commit
280e1b334a
|
@ -122,7 +122,7 @@ static void bitq_state_move(tap_state_t new_state)
|
|||
}
|
||||
|
||||
tms_scan = tap_get_tms_path(tap_get_state(), new_state);
|
||||
int tms_count = tap_get_tms_path_len(tap_get_state(), tap_get_end_state());
|
||||
int tms_count = tap_get_tms_path_len(tap_get_state(), new_state);
|
||||
|
||||
for (i = 0; i < tms_count; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue