dreamsourcelab-dslogic: Fix incorrect default threshold setting.
This was leading to an invalid threshold config value and indirectly to frontend issues. Slightly modified patch from James Churchill <pelrun@gmail.com>, thanks!
This commit is contained in:
parent
57837aeda5
commit
86a1571135
|
@ -360,7 +360,7 @@ static int dev_open(struct sr_dev_inst *sdi)
|
|||
}
|
||||
|
||||
if (devc->cur_threshold == 0.0)
|
||||
devc->cur_threshold = 1.5;
|
||||
devc->cur_threshold = thresholds[1][0];
|
||||
|
||||
return SR_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue