]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
usb: Enforce that there can only be one USB event source for now.
[libsigrok.git] / libsigrok-internal.h
index a3fe2afe897beda1a6c46c5d27c501d30cb5a07b..c76f5983b7bddccf1d9388d0334ad0822c7fea5d 100644 (file)
@@ -60,6 +60,7 @@
 struct sr_context {
 #ifdef HAVE_LIBUSB_1_0
        libusb_context *libusb_ctx;
+       gboolean usb_source_present;
 #ifdef _WIN32
        GThread *usb_thread;
        gboolean usb_thread_running;