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:
parent
754b5ff2b4
commit
72cd99b876
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue