X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=input.c;h=d2adde6998b7d4d396e314bf42dd0b5f67bc87f7;hp=c483546000897a1a1c823f9052543a6327ab0e01;hb=0894b97269117fef77fb22d06d726a38e652cee4;hpb=7b30c426552e9baf9998df61447adec91a17cb9d diff --git a/input.c b/input.c index c483546..d2adde6 100644 --- a/input.c +++ b/input.c @@ -25,11 +25,6 @@ #include #include -extern gchar *opt_input_file; -extern gchar *opt_input_format; -extern gchar *opt_probes; - - /** * Return the input file format which the CLI tool should use. * @@ -131,7 +126,7 @@ static void load_input_file_format(void) } } - if (select_probes(in->sdi) != SR_OK) + if (select_channels(in->sdi) != SR_OK) return; sr_session_new(); @@ -165,7 +160,7 @@ void load_input_file(void) return; } sdi = sessions->data; - if (select_probes(sdi) != SR_OK) { + if (select_channels(sdi) != SR_OK) { sr_session_destroy(); return; }