diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 78800455..f19bb62d 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,7 @@ 2008-09-09 Arnim Laeuger + * src/cmd/detect.c: test correct return value of bus->driver->init() + * src/bsdl2jtag.c: fix from and to for downto vectors 2008-09-06 Arnim Laeuger diff --git a/jtag/src/cmd/detect.c b/jtag/src/cmd/detect.c index f2af309f..ca972b33 100644 --- a/jtag/src/cmd/detect.c +++ b/jtag/src/cmd/detect.c @@ -68,7 +68,7 @@ cmd_detect_run( chain_t *chain, char *params[] ) abus = buses.buses[i]; if(abus->driver->init) { - if(!abus->driver->init(abus)) + if(abus->driver->init(abus)) return -1; } }