- fox small typo in handle_irscan_command
git-svn-id: svn://svn.berlios.de/openocd/trunk@1178 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
e3462b228c
commit
cca10e6534
|
@ -2125,7 +2125,7 @@ int handle_irscan_command(struct command_context_s *cmd_ctx, char *cmd, char **a
|
||||||
{
|
{
|
||||||
int device = strtoul(args[i*2], NULL, 0);
|
int device = strtoul(args[i*2], NULL, 0);
|
||||||
jtag_device_t *device_ptr=jtag_get_device(device);
|
jtag_device_t *device_ptr=jtag_get_device(device);
|
||||||
if (device==NULL)
|
if (device_ptr==NULL)
|
||||||
{
|
{
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue