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;