projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix #615 by opening the output stream only if needed
[pulseview.git]
/
pv
/
devices
/
hardwaredevice.hpp
diff --git
a/pv/devices/hardwaredevice.hpp
b/pv/devices/hardwaredevice.hpp
index 9f052d7e85efa5a5a35b494b201dd310354631af..df11ed25783caa8221fb269a6b0b60fff3554eec 100644
(file)
--- a/
pv/devices/hardwaredevice.hpp
+++ b/
pv/devices/hardwaredevice.hpp
@@
-57,6
+57,7
@@
public:
private:
const std::shared_ptr<sigrok::Context> context_;
+ bool device_open_;
};
} // namespace devices