]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed problem building when RADIOBERRY not defined.
authorJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sat, 18 Feb 2017 19:03:30 +0000 (19:03 +0000)
committerJohn Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Sat, 18 Feb 2017 19:03:30 +0000 (19:03 +0000)
Makefile
tx_menu.c

index acbfb52bdfb7e866d9c3d082b83c4bacf3185f6d..f6d25abbe304ae51a150efcc53ba2cfa9cb5d1c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,11 @@ GPIO_INCLUDE=GPIO
 #I2C_INCLUDE=I2C
 
 #uncomment the line below for the platform being compiled on
-#UNAME_N=raspberrypi
+UNAME_N=raspberrypi
 #UNAME_N=odroid
 #UNAME_N=up
 #UNAME_N=pine64
-UNAME_N=jetsen
+#UNAME_N=jetsen
 
 CC=gcc
 LINK=gcc
@@ -52,7 +52,7 @@ endif
 #LIMESDR_INCLUDE=LIMESDR
 
 # uncomment the line below when Radioberry radio cape is plugged in
-RADIOBERRY_INCLUDE=RADIOBERRY
+#RADIOBERRY_INCLUDE=RADIOBERRY
 
 ifeq ($(RADIOBERRY_INCLUDE),RADIOBERRY)
 RADIOBERRY_OPTIONS=-D RADIOBERRY
index c3df39f5e5961541b8b4704fffd961c8c3ed082a..0ba3f00840e12928f49b078c05b88633fec9cc82 100644 (file)
--- a/tx_menu.c
+++ b/tx_menu.c
@@ -166,7 +166,7 @@ void tx_menu(GtkWidget *parent) {
 #ifdef RADIOBERRY
        if(protocol==ORIGINAL_PROTOCOL || protocol==NEW_PROTOCOL || protocol==RADIOBERRY_PROTOCOL) {
 #else
-       if(protocol==ORIGINAL_PROTOCOL || protocol==NEW_PROTOCOL)) {
+       if(protocol==ORIGINAL_PROTOCOL || protocol==NEW_PROTOCOL) {
 #endif
     linein_b=gtk_check_button_new_with_label("Mic Line In (ACC connector)");
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (linein_b), mic_linein);