X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-dso%2Fdso.c;h=27ef63c1e864b35385973c9750237bbaa3f62ef7;hb=4d6a50085ea9ea4f25850b22737f621a3e13d953;hp=156efd9333f32e4c37e3320744258f589be6d5ec;hpb=07ffa5b315caab0d6d703e04f09035bc0f2b3ee4;p=libsigrok.git diff --git a/src/hardware/hantek-dso/dso.c b/src/hardware/hantek-dso/dso.c index 156efd93..27ef63c1 100644 --- a/src/hardware/hantek-dso/dso.c +++ b/src/hardware/hantek-dso/dso.c @@ -22,7 +22,7 @@ #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #include "dso.h" @@ -111,7 +111,7 @@ err: SR_PRIV int dso_open(struct sr_dev_inst *sdi) { struct dev_context *devc; - struct drv_context *drvc = hantek_dso_driver_info.priv; + struct drv_context *drvc = hantek_dso_driver_info.context; struct sr_usb_dev_inst *usb; struct libusb_device_descriptor des; libusb_device **devlist;