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.
This commit is contained in:
Bert Vermeulen 2013-04-16 00:23:34 +02:00
parent 754b5ff2b4
commit 72cd99b876
1 changed files with 1 additions and 0 deletions

View 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;