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:
Russ Dill 2013-12-30 06:59:55 -08:00 committed by Bert Vermeulen
parent 4c1433d172
commit bc059b42a2
1 changed files with 1 additions and 4 deletions

View File

@ -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);