From bc059b42a26bbfa1d64bbf617abe4d440bdc57c5 Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Mon, 30 Dec 2013 06:59:55 -0800 Subject: [PATCH] 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 --- hardware/zeroplus-logic-cube/analyzer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hardware/zeroplus-logic-cube/analyzer.c b/hardware/zeroplus-logic-cube/analyzer.c index acb97e09..e9780d2d 100644 --- a/hardware/zeroplus-logic-cube/analyzer.c +++ b/hardware/zeroplus-logic-cube/analyzer.c @@ -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);