]> sigrok.org Git - libsigrok.git/blobdiff - src/session_file.c
session_file: Start out with SR_ST_INACTIVE like all drivers.
[libsigrok.git] / src / session_file.c
index 663fea722f9db161eafee3dc5f316809560c785b..2515ca5e7ebc9ab1e5225a7f4c4ec88a94aa9dc5 100644 (file)
@@ -175,7 +175,7 @@ SR_PRIV struct sr_dev_inst *sr_session_prepare_sdi(const char *filename, struct
 
        sdi = g_malloc0(sizeof(struct sr_dev_inst));
        sdi->driver = &session_driver;
-       sdi->status = SR_ST_ACTIVE;
+       sdi->status = SR_ST_INACTIVE;
        if (!session_driver_initialized) {
                /* first device, init the driver */
                session_driver_initialized = 1;