]> sigrok.org Git - libsigrok.git/commit
scpi-pps: Initialise sdi with status SR_ST_INACTIVE.
authorMartin Ling <redacted>
Wed, 18 Mar 2015 18:02:06 +0000 (18:02 +0000)
committerUwe Hermann <redacted>
Fri, 20 Mar 2015 14:33:49 +0000 (15:33 +0100)
commit7d4f1741e377099b9151226eb950ccbf89281fb0
tree89e2cc6d6a32b39796a3ec43e5af072c627f98aa
parent40c2c9159cde208105fa2631019dc857b9918907
scpi-pps: Initialise sdi with status SR_ST_INACTIVE.

Without this change a segfault occurs at exit after scan, because
dev_close() is called and the device is believed to be open.
src/hardware/scpi-pps/api.c