test correct return value of bus->driver->init()

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1356 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent 3efda416c2
commit f7251ebba6

@ -1,5 +1,7 @@
2008-09-09 Arnim Laeuger <arniml@users.sourceforge.net>
* 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 <arniml@users.sourceforge.net>

@ -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;
}
}

Loading…
Cancel
Save