From 82a8a08424cab0267c91703ec596c94d92b0d9f2 Mon Sep 17 00:00:00 2001 From: c vw Date: Thu, 30 May 2019 11:59:59 +0200 Subject: [PATCH] deactivated some verbose diagnostic messages --- discovery.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/discovery.c b/discovery.c index 7233009..da5b866 100644 --- a/discovery.c +++ b/discovery.c @@ -58,7 +58,6 @@ static char ipaddr_tcp_buf[IPADDR_LEN] = "10.10.10.10"; char *ipaddr_tcp = &ipaddr_tcp_buf[0]; static gboolean start_cb (GtkWidget *widget, GdkEventButton *event, gpointer data) { -fprintf(stderr,"start_cb: %p\n",data); radio=(DISCOVERED *)data; #ifdef STEMLAB_DISCOVERY // We need to start the STEMlab app before destroying the dialog, since @@ -117,7 +116,7 @@ static gboolean tcp_cb (GtkWidget *widget, GdkEventButton *event, gpointer data) if (ipaddr_tcp[len] != '\n') break; ipaddr_tcp[len]=0; } - fprintf(stderr,"New TCP addr = %s.\n", ipaddr_tcp); + //fprintf(stderr,"New TCP addr = %s.\n", ipaddr_tcp); // save this value to config file FILE *fp = fopen("ip.addr", "w"); if (fp) { @@ -130,7 +129,7 @@ static gboolean tcp_cb (GtkWidget *widget, GdkEventButton *event, gpointer data) } void discovery() { -fprintf(stderr,"discovery\n"); +//fprintf(stderr,"discovery\n"); selected_device=0; devices=0; -- 2.45.2