]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.h
hantek-dso: use default libusb context
[libsigrok.git] / hardware / hantek-dso / dso.h
index 6d8f8821724b3786f0c305963126a68fa5641c1d..800aeadcfa132e29c14277baec48b2dd2657c881 100644 (file)
@@ -143,7 +143,8 @@ enum states {
        IDLE,
        NEW_CAPTURE,
        CAPTURE,
-       FETCH_DATA
+       FETCH_DATA,
+       STOPPING,
 };
 
 struct dso_profile {
@@ -159,7 +160,6 @@ struct dso_profile {
 };
 
 struct drv_context {
-       libusb_context *usb_context;
        GSList *instances;
 };