]> sigrok.org Git - libsigrok.git/commitdiff
ols: Report when a device doesn't support metadata
authorBert Vermeulen <redacted>
Mon, 15 Apr 2013 22:23:34 +0000 (00:23 +0200)
committerBert Vermeulen <redacted>
Mon, 15 Apr 2013 22:23:34 +0000 (00:23 +0200)
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.

hardware/openbench-logic-sniffer/api.c

index 0265aee59db10c84e098ab987af20dd942275d14..dc0467007e904cd9e9e3b4104308d5a0ae86e025 100644 (file)
@@ -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;