X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhantek-dso%2Fdso.h;h=38ef61bf1fe63c8354eff444ef1decee78ed19b2;hb=25a0f108f4512ade836fed128c3ad649dedcb788;hp=c7ae841fa4f22e7eee18297daf50244612bcdd07;hpb=58453e5876ffae9153e9f4ddc2ad8dc244c7f26d;p=libsigrok.git diff --git a/hardware/hantek-dso/dso.h b/hardware/hantek-dso/dso.h index c7ae841f..38ef61bf 100644 --- a/hardware/hantek-dso/dso.h +++ b/hardware/hantek-dso/dso.h @@ -203,7 +203,7 @@ struct context { unsigned char *framebuf; }; -SR_PRIV int dso_open(int dev_index); +SR_PRIV int dso_open(struct sr_dev_inst *sdi); SR_PRIV void dso_close(struct sr_dev_inst *sdi); SR_PRIV int dso_enable_trigger(struct context *ctx); SR_PRIV int dso_force_trigger(struct context *ctx);