X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fhantek-dso%2Fdso.h;h=38ef61bf1fe63c8354eff444ef1decee78ed19b2;hb=a5b35a167a32ffbaee1ce9c0de8501f781f733d1;hp=c7ae841fa4f22e7eee18297daf50244612bcdd07;hpb=88a13f30bdcad5de468221ef06e7dbc8859c3d8b;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);