Rename sr_dev_config_set() to sr_config_set()
This commit is contained in:
parent
aeba33ba21
commit
358d050d7a
2
device.c
2
device.c
|
@ -329,7 +329,7 @@ SR_PRIV void sr_serial_dev_inst_free(struct sr_serial_dev_inst *serial)
|
|||
|
||||
}
|
||||
|
||||
SR_API int sr_dev_config_set(const struct sr_dev_inst *sdi, int hwcap,
|
||||
SR_API int sr_config_set(const struct sr_dev_inst *sdi, int hwcap,
|
||||
const void *value)
|
||||
{
|
||||
int ret;
|
||||
|
|
2
proto.h
2
proto.h
|
@ -52,7 +52,7 @@ SR_API int sr_dev_probe_enable(const struct sr_dev_inst *sdi, int probenum,
|
|||
SR_API int sr_dev_trigger_set(const struct sr_dev_inst *sdi, int probenum,
|
||||
const char *trigger);
|
||||
SR_API gboolean sr_dev_has_hwcap(const struct sr_dev_inst *sdi, int hwcap);
|
||||
SR_API int sr_dev_config_set(const struct sr_dev_inst *sdi, int hwcap,
|
||||
SR_API int sr_config_set(const struct sr_dev_inst *sdi, int hwcap,
|
||||
const void *value);
|
||||
SR_API GSList *sr_dev_inst_list(const struct sr_dev_driver *driver);
|
||||
SR_API int sr_dev_inst_clear(const struct sr_dev_driver *driver);
|
||||
|
|
Loading…
Reference in New Issue