From 77bf5059aeb792c2f3786d988c1ffc64d51e1040 Mon Sep 17 00:00:00 2001 From: AlexandraTrifan Date: Wed, 10 Apr 2024 16:55:29 +0300 Subject: [PATCH] test --- dialogs.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dialogs.c b/dialogs.c index 527c47af..7b2d933e 100644 --- a/dialogs.c +++ b/dialogs.c @@ -498,12 +498,7 @@ static void refresh_usb(void) if (!ctxs) goto nope; -#ifdef __APPLE__ - // Scanning seems to be broken at the moment - goto nope; -#endif - - + printf("filter%s\n", filter); ret = iio_scan_context_get_info_list(ctxs, &info); if (ret < 0) goto err_free_ctxs; @@ -511,6 +506,7 @@ static void refresh_usb(void) goto err_free_info_list; for (i = 0; i < (size_t) ret; i++) { + printf("info ctx%s\n", iio_context_info_get_description(info[i])); tmp = strdup(iio_context_info_get_description(info[i])); pid = strdup(iio_context_info_get_description(info[i]));