From 0566f21b6cd8a994e50b02864d7a8bcd59824fea Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Thu, 9 Jan 2003 10:45:33 +0000 Subject: [PATCH] 2003-01-09 Marcel Telka * src/discovery.c (detect_register_size): Changed register length test iteration. Now the test iterates to MAX_REGISTER_LENGTH, not to MAX_REGISTER_LENGTH - 1. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@304 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/discovery.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 7e773571..a91e8c83 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2003-01-09 Marcel Telka + + * src/discovery.c (detect_register_size): Changed register length test iteration. + Now the test iterates to MAX_REGISTER_LENGTH, not to MAX_REGISTER_LENGTH - 1. + 2003-01-08 Marcel Telka Version 0.2 released. diff --git a/jtag/src/discovery.c b/jtag/src/discovery.c index 396e10d8..8e45ba88 100644 --- a/jtag/src/discovery.c +++ b/jtag/src/discovery.c @@ -46,7 +46,7 @@ detect_register_size( FILE *f ) tap_register *rout; tap_register *rpat; - for (len = 1; len < MAX_REGISTER_LENGTH; len++) { + for (len = 1; len <= MAX_REGISTER_LENGTH; len++) { int p; int ok = 0;