X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fatten-pps3xxx%2Fapi.c;fp=hardware%2Fatten-pps3xxx%2Fapi.c;h=94e8fe44f5c32a8d3fefcf0cce9e2fc0c1e41235;hb=91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e;hp=102940b792809faf437888de0dc6a4c3a7363eb0;hpb=53b4680fceab9351fc87b8c5b34854733f5fdac0;p=libsigrok.git diff --git a/hardware/atten-pps3xxx/api.c b/hardware/atten-pps3xxx/api.c index 102940b7..94e8fe44 100644 --- a/hardware/atten-pps3xxx/api.c +++ b/hardware/atten-pps3xxx/api.c @@ -87,7 +87,7 @@ static GSList *scan(GSList *options, int modelid) struct drv_context *drvc; struct dev_context *devc; struct sr_config *src; - struct sr_probe *probe; + struct sr_channel *probe; struct sr_channel_group *cg; struct sr_serial_dev_inst *serial; GSList *l, *devices; @@ -209,7 +209,7 @@ static int config_get(int key, GVariant **data, const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) { struct dev_context *devc; - struct sr_probe *probe; + struct sr_channel *probe; int channel, ret; if (!sdi) @@ -278,7 +278,7 @@ static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) { struct dev_context *devc; - struct sr_probe *probe; + struct sr_channel *probe; gdouble dval; int channel, ret, ival; const char *sval; @@ -362,7 +362,7 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi, const struct sr_channel_group *cg) { struct dev_context *devc; - struct sr_probe *probe; + struct sr_channel *probe; GVariant *gvar; GVariantBuilder gvb; int channel, ret, i;