From: DL1YCF Date: Sun, 26 Jul 2020 10:32:39 +0000 (+0200) Subject: Moving the "init" down was not good. X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/$top_link?a=commitdiff_plain;h=cd36cdd3bfeb6bdea2f52a34dc433cfe2c2df5aa;p=pihpsdr.git Moving the "init" down was not good. --- 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() {