From: Matt Ranostay Date: Wed, 28 Aug 2013 04:19:55 +0000 (-0700) Subject: ols: Display noise filter flag X-Git-Tag: libsigrok-0.2.2~75 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=de524099823d7a7b9aeae3e87e79c14cfc809fd6;p=libsigrok.git ols: Display noise filter flag Show if noise filter is on. This is important to be sure is off for demux mode. Signed-off-by: Matt Ranostay --- diff --git a/hardware/openbench-logic-sniffer/api.c b/hardware/openbench-logic-sniffer/api.c index cb037908..77082257 100644 --- a/hardware/openbench-logic-sniffer/api.c +++ b/hardware/openbench-logic-sniffer/api.c @@ -477,8 +477,10 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, } sr_info("Setting samplerate to %" PRIu64 "Hz (divider %u, " - "demux %s)", devc->cur_samplerate, devc->cur_samplerate_divider, - devc->flag_reg & FLAG_DEMUX ? "on" : "off"); + "demux %s, noise_filter %s)", devc->cur_samplerate, + devc->cur_samplerate_divider, + devc->flag_reg & FLAG_DEMUX ? "on" : "off", + devc->flag_reg & FLAG_FILTER ? "on": "off"); if (send_longcommand(serial, CMD_SET_DIVIDER, reverse32(devc->cur_samplerate_divider)) != SR_OK) return SR_ERR;