From: Bert Vermeulen Date: Mon, 25 Mar 2013 19:40:40 +0000 (+0100) Subject: ols: allow for disabling of RLE as well X-Git-Tag: dsupstream~211 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=aeea0572202fa20093534a8e97da87c324151932;p=libsigrok.git ols: allow for disabling of RLE as well --- diff --git a/hardware/openbench-logic-sniffer/api.c b/hardware/openbench-logic-sniffer/api.c index 711938b8..4e1a40cd 100644 --- a/hardware/openbench-logic-sniffer/api.c +++ b/hardware/openbench-logic-sniffer/api.c @@ -295,6 +295,9 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi) if (g_variant_get_boolean(data)) { sr_info("Enabling RLE."); devc->flag_reg |= FLAG_RLE; + } else { + sr_info("Disabling RLE."); + devc->flag_reg &= ~FLAG_RLE; } ret = SR_OK; break;