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 <mranostay@gmail.com>
This commit is contained in:
parent
00d04d3b0e
commit
de52409982
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue