From cd36cdd3bfeb6bdea2f52a34dc433cfe2c2df5aa Mon Sep 17 00:00:00 2001 From: DL1YCF Date: Sun, 26 Jul 2020 12:32:39 +0200 Subject: [PATCH] Moving the "init" down was not good. --- radio.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/radio.c b/radio.c index b5fc393..2209b81 100644 --- a/radio.c +++ b/radio.c @@ -604,7 +604,6 @@ if(!radio_is_remote) { } #endif -/* #ifdef CLIENT_SERVER if(!radio_is_remote) { #endif @@ -624,7 +623,6 @@ if(!radio_is_remote) { #ifdef CLIENT_SERVER } #endif -*/ if(display_zoompan) { zoompan = zoompan_init(display_width,ZOOMPAN_HEIGHT); @@ -663,26 +661,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