Commit 71b5bff7 authored by Tristan Gingold's avatar Tristan Gingold

fip_urv: adjust reset behaviour

parent cc6586c9
......@@ -283,7 +283,7 @@ static int update_prod_vars(void)
pvar->bsz = 4;
pvar->buffer[0] = 0;
if (ftb->nbr_errors || ftb->reset == 2) {
if (ftb->nbr_errors > 1000 || ftb->reset == 2) {
/* Do reset */
if (flag_trace)
printf("Send reset\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment