]> sigrok.org Git - libsigrok.git/blobdiff - device.c
sr: add conn to sdi, for storing a ptr to device-specific connection info
[libsigrok.git] / device.c
index 62395be57f3de405f6522e327d458d74f345d8c4..2ad678497421a0247e264374b2f61cc6e5d075a8 100644 (file)
--- a/device.c
+++ b/device.c
@@ -243,6 +243,7 @@ SR_PRIV struct sr_dev_inst *sr_dev_inst_new(int index, int status,
        sdi->model = model ? g_strdup(model) : NULL;
        sdi->version = version ? g_strdup(version) : NULL;
        sdi->probes = NULL;
+       sdi->conn = NULL;
        sdi->priv = NULL;
 
        return sdi;