zeroplus: Always set DONT_CARE_TRIGGERBAR to 1
Experimentation with the windows driver has found no situation where
this is set to anything other than 1. The zerominus software also never
sets this to anything other than one. Revert the code change made in
0ab0cb942f
.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
This commit is contained in:
parent
4c1433d172
commit
bc059b42a2
|
@ -477,10 +477,7 @@ SR_PRIV void analyzer_configure(libusb_device_handle *devh)
|
|||
__analyzer_set_triggerbar_address(devh, g_triggerbar_addr);
|
||||
|
||||
/* Set_Dont_Care_TriggerBar */
|
||||
if (g_triggerbar_addr)
|
||||
gl_reg_write(devh, DONT_CARE_TRIGGERBAR, 0x00);
|
||||
else
|
||||
gl_reg_write(devh, DONT_CARE_TRIGGERBAR, 0x01);
|
||||
gl_reg_write(devh, DONT_CARE_TRIGGERBAR, 0x01);
|
||||
|
||||
/* Enable_Status */
|
||||
analyzer_set_filter(devh);
|
||||
|
|
Loading…
Reference in New Issue