From 0829a296a21fbbfbe85d4cb1fd6f8b26f0756ff5 Mon Sep 17 00:00:00 2001 From: John Melton G0ORX Date: Sun, 26 Jul 2020 07:57:24 +0100 Subject: [PATCH] fixed protocol init bug --- radio.c | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/radio.c b/radio.c index 1047c00..62bba24 100644 --- a/radio.c +++ b/radio.c @@ -603,7 +603,6 @@ if(!radio_is_remote) { } #endif -/* #ifdef CLIENT_SERVER if(!radio_is_remote) { #endif @@ -623,7 +622,6 @@ if(!radio_is_remote) { #ifdef CLIENT_SERVER } #endif -*/ if(display_zoompan) { zoompan = zoompan_init(display_width,ZOOMPAN_HEIGHT); @@ -662,27 +660,6 @@ g_print("create_visual: calling radio_change_receivers: receivers=%d r=%d\n",rec //gtk_widget_show_all (fixed); gtk_widget_show_all (top_window); - -#ifdef CLIENT_SERVER - if(!radio_is_remote) { -#endif - switch(protocol) { - case ORIGINAL_PROTOCOL: - old_protocol_init(0,display_width,receiver[0]->sample_rate); - break; - case NEW_PROTOCOL: - new_protocol_init(display_width); - break; -#ifdef SOAPYSDR - case SOAPYSDR_PROTOCOL: - soapy_protocol_init(0,false); - break; -#endif - } -#ifdef CLIENT_SERVER - } -#endif - } void start_radio() { -- 2.45.2