X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ftondaj-sl-814%2Fapi.c;h=d112b19598b7c3d5b4f8ac3dd4ae9e0f03ecbdbd;hb=fd830beb6751a966a0f12a9ca48a8550bbe5bbba;hp=abe88ba4317629d74a25073b0ce5b727e6e07b88;hpb=ba7dd8bbb8168cba432a844259a3e239aa5f36d7;p=libsigrok.git diff --git a/hardware/tondaj-sl-814/api.c b/hardware/tondaj-sl-814/api.c index abe88ba4..d112b195 100644 --- a/hardware/tondaj-sl-814/api.c +++ b/hardware/tondaj-sl-814/api.c @@ -106,7 +106,7 @@ static GSList *scan(GSList *options) sdi->priv = devc; sdi->driver = di; - ch = sr_probe_new(0, SR_PROBE_ANALOG, TRUE, "P1"); + ch = sr_channel_new(0, SR_CHANNEL_ANALOG, TRUE, "P1"); if (!ch) { sr_err("Failed to create channel."); return NULL;