X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fsession_file.c;h=9a1e316e8fd0411158215d011d9ed91b8d7fc00d;hb=HEAD;hp=663fea722f9db161eafee3dc5f316809560c785b;hpb=f200d59ee21a42998752c4319d4ff48e129c95c5;p=libsigrok.git diff --git a/src/session_file.c b/src/session_file.c index 663fea72..dc4012d9 100644 --- a/src/session_file.c +++ b/src/session_file.c @@ -43,7 +43,9 @@ * @{ */ +/** @cond PRIVATE */ extern SR_PRIV struct sr_dev_driver session_driver; +/** @endcond */ static int session_driver_initialized = 0; #if !HAVE_ZIP_DISCARD @@ -167,7 +169,7 @@ SR_PRIV int sr_sessionfile_check(const char *filename) return SR_OK; } - + /** @private */ SR_PRIV struct sr_dev_inst *sr_session_prepare_sdi(const char *filename, struct sr_session **session) { @@ -175,7 +177,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;