From 2c6cf5f613a4262a57b822986567060a5b99dc53 Mon Sep 17 00:00:00 2001 From: c vw Date: Tue, 20 Jul 2021 17:39:11 +0200 Subject: [PATCH] Removed init_gpio variable since it serves no function --- radio.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/radio.c b/radio.c index d33f99a..69ca71b 100644 --- a/radio.c +++ b/radio.c @@ -602,24 +602,11 @@ if(!radio_is_remote) { gtk_fixed_put(GTK_FIXED(fixed),audio_waterfall,0,VFO_HEIGHT+20); #endif - gboolean init_gpio=FALSE; -#ifdef LOCALCW - init_gpio=TRUE; -#endif -#ifdef PTT - init_gpio=TRUE; -#endif -#ifdef GPIO - init_gpio=TRUE; -#endif - - if(init_gpio) { #ifdef GPIO if(gpio_init()<0) { g_print("GPIO failed to initialize\n"); } #endif - } #ifdef LOCALCW // init local keyer if enabled -- 2.45.2