projects
/
sigrok-cli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
srd: don't load all protocol decoders unless we really need to.
[sigrok-cli.git]
/
parsers.c
diff --git
a/parsers.c
b/parsers.c
index d6642b351e47372e705bfa883f84d45a6079a3c3..f3321ba099a3f7b481a2020dce99bbecce7b1db2 100644
(file)
--- a/
parsers.c
+++ b/
parsers.c
@@
-164,12
+164,12
@@
struct sr_device *parse_devicestring(const char *devicestring)
* no need to let them all scan
*/
device = NULL;
* no need to let them all scan
*/
device = NULL;
- plugins = sr_
list_hwplugins
();
+ plugins = sr_
hwplugins_list
();
for (p = plugins; p; p = p->next) {
plugin = p->data;
if (strcmp(plugin->name, devicestring))
continue;
for (p = plugins; p; p = p->next) {
plugin = p->data;
if (strcmp(plugin->name, devicestring))
continue;
- num_devices = sr_
init_hwplugin
(plugin);
+ num_devices = sr_
hwplugin_init
(plugin);
if (num_devices == 1) {
devices = sr_dev_list();
device = devices->data;
if (num_devices == 1) {
devices = sr_dev_list();
device = devices->data;