return SR_OK;
}
-static int hw_init(int dmm)
+static int hw_init(struct sr_context *sr_ctx, int dmm)
{
int ret;
struct drv_context *drvc;
return SR_OK;
}
-static int hw_init_ut61d(void)
+static int hw_init_ut61d(struct sr_context *sr_ctx)
{
- return hw_init(UNI_T_UT61D);
+ return hw_init(sr_ctx, UNI_T_UT61D);
}
-static int hw_init_vc820(void)
+static int hw_init_vc820(struct sr_context *sr_ctx)
{
- return hw_init(VOLTCRAFT_VC820);
+ return hw_init(sr_ctx, VOLTCRAFT_VC820);
}
static GSList *hw_scan(GSList *options)
return SR_OK;
}
-static int hw_dev_acquisition_stop(const struct sr_dev_inst *sdi,
- void *cb_data)
+static int hw_dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data)
{
struct sr_datafeed_packet packet;