Forgot a few error_get_reset -> error_reset transforms

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1565 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Rutger Hofman 16 years ago
parent 17c88df4bf
commit ea6e5afaaf

@ -58,7 +58,7 @@ cmd_bus_run (urj_chain_t *chain, char *params[])
if (urj_bus_buses_set (n) != URJ_STATUS_OK)
{
printf ("%s\n", urj_error_describe());
urj_error_get_reset();
urj_error_reset();
}
return 1;

@ -46,7 +46,7 @@ cmd_detect_run (urj_chain_t *chain, char *params[])
if (urj_tap_detect (chain) != URJ_STATUS_OK)
{
printf ("%s\n", urj_error_describe());
urj_error_get_reset();
urj_error_reset();
return -1;
}

@ -63,7 +63,7 @@ cmd_signal_run (urj_chain_t *chain, char *params[])
if (urj_part_signal_redefine_pin(chain, s, params[2]) != URJ_STATUS_OK)
{
printf ("%s\n", urj_error_describe());
urj_error_get_reset();
urj_error_reset();
}
return 1;
}
@ -84,7 +84,7 @@ cmd_signal_run (urj_chain_t *chain, char *params[])
}
if (s == NULL) {
printf ("%s\n", urj_error_describe());
urj_error_get_reset();
urj_error_reset();
return 1;
}

Loading…
Cancel
Save