From: Bert Vermeulen Date: Mon, 15 Apr 2013 22:23:34 +0000 (+0200) Subject: ols: Report when a device doesn't support metadata X-Git-Tag: dsupstream~143 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=72cd99b876eb2185358bc108b488585c956f3dc7;p=libsigrok.git ols: Report when a device doesn't support metadata Not an error, but it does mean it's either a really old or really basic device, and will help us to debug people's problems with these. Fixes bug 92. --- diff --git a/hardware/openbench-logic-sniffer/api.c b/hardware/openbench-logic-sniffer/api.c index 0265aee5..dc046700 100644 --- a/hardware/openbench-logic-sniffer/api.c +++ b/hardware/openbench-logic-sniffer/api.c @@ -148,6 +148,7 @@ static GSList *hw_scan(GSList *options) devc = sdi->priv; } else { /* Not an OLS -- some other board that uses the sump protocol. */ + sr_info("Device does not support metadata."); sdi = sr_dev_inst_new(0, SR_ST_INACTIVE, "Sump", "Logic Analyzer", "v1.0"); sdi->driver = di;