File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,13 @@ gint main (int argc, char **argv)
208
208
while ((c = getopt (argc , argv , "c:p:u:" )) != -1 )
209
209
switch (c ) {
210
210
case 'c' :
211
- //ctx = iio_create_network_context(optarg);
212
211
ctx = iio_create_context (NULL , optarg );
213
212
if (!ctx ) {
214
213
printf ("Failed connecting to remote device: %s\n" , optarg );
215
214
exit (-1 );
216
215
}
217
216
break ;
218
217
case 'u' :
219
- //ctx = iio_create_context_from_uri(optarg);
220
218
ctx = iio_create_context (NULL , optarg );
221
219
if (!ctx ) {
222
220
printf ("Failed connecting to remote device: %s\n" , optarg );
@@ -254,7 +252,6 @@ gint main (int argc, char **argv)
254
252
if (!ctx_destroyed_by_do_quit ) {
255
253
if (!ctx )
256
254
connect_dialog (false);
257
- // !!!!!!!
258
255
create_default_plot ();
259
256
if (c == 0 ) {
260
257
if (gtk_check_menu_item_get_active (
You can’t perform that action at this time.
0 commit comments