Silly omission of != URJ_STATUS_OK in src/cmd/cmd_peekpoke.c

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1593 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Rutger Hofman 16 years ago
parent 250a2d2b86
commit f7b75f7289

@ -144,7 +144,7 @@ cmd_poke_run (urj_chain_t *chain, char *params[])
while (k < pars)
{
if (urj_cmd_get_number (params[k], &adr) != URJ_STATUS_OK
|| urj_cmd_get_number (params[k + 1], &val))
|| urj_cmd_get_number (params[k + 1], &val) != URJ_STATUS_OK)
return URJ_STATUS_FAIL;
URJ_BUS_AREA (urj_bus, adr, &area);
URJ_BUS_WRITE (urj_bus, adr, val);

Loading…
Cancel
Save