#UNAME_N=jetsen
# Additional options that can be chosen at compile time:
-# -DSPLIT_RXTX if there is more than one receiver, TX panel only "hides" the first one
# -DPROTOCOL_DEBUG logs (on stderr) all state changes sent to the SDR (only old protocol)
# -DDEBUG activate general debug output
#
# leave the list empty if no such option should be used
-ADDITIONAL_OPTIONS=
+DEBUGL_OPTION=
CC=gcc
OPTIONS=-g -Wno-deprecated-declarations $(PURESIGNAL_OPTIONS) $(REMOTE_OPTIONS) $(USBOZY_OPTIONS) $(I2C_OPTIONS) $(GPIO_OPTIONS) $(LIMESDR_OPTIONS) \
$(FREEDV_OPTIONS) $(LOCALCW_OPTIONS) $(RADIOBERRY_OPTIONS) $(PSK_OPTIONS) $(STEMLAB_OPTIONS) $(STEMLAB_FIX_OPTION) \
- -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(ADDITIONAL_OPTIONS) -O3
+ -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(DEBUG_OPTION) -O3
LIBS=-lrt -lm -lwdsp -lpthread $(AUDIO_LIBS) $(USBOZY_LIBS) $(PSKLIBS) $(GTKLIBS) $(GPIO_LIBS) $(SOAPYSDRLIBS) $(FREEDVLIBS) $(STEMLAB_LIBS)
INCLUDES=$(GTKINCLUDES)
#UNAME_N=jetsen
# Additional options that can be chosen at compile time:
-# -DSPLIT_RXTX if there is more than one receiver, TX panel only "hides" the first one
# -DPROTOCOL_DEBUG logs (on stderr) all state changes sent to the SDR (only old protocol)
# -DDEBUG activate debug output
#
# leave the list empty if no such option should be used
-ADDITIONAL_OPTIONS= -DSPLIT_RXTX
+DEBUG_OPTION=
CC=gcc
LINK=gcc
OPTIONS=-g -Wno-deprecated-declarations $(PURESIGNAL_OPTIONS) $(REMOTE_OPTIONS) $(USBOZY_OPTIONS) $(I2C_OPTIONS) $(GPIO_OPTIONS) $(LIMESDR_OPTIONS) \
$(FREEDV_OPTIONS) $(LOCALCW_OPTIONS) $(RADIOBERRY_OPTIONS) $(PSK_OPTIONS) $(STEMLAB_OPTIONS) $(STEMLAB_FIX_OPTION) \
- -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(PORTAUDIO_OPTIONS) $(ADDITIONAL_OPTIONS) -O3
+ -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(PORTAUDIO_OPTIONS) $(DEBUG_OPTION) -O3
LIBS=-lm -lwdsp -lpthread $(AUDIO_LIBS) $(USBOZY_LIBS) $(PSKLIBS) $(GTKLIBS) $(GPIO_LIBS) $(SOAPYSDRLIBS) $(FREEDVLIBS) $(STEMLAB_LIBS)
INCLUDES=$(GTKINCLUDES)
start_ps();
return TRUE;
}
-#else
-static gboolean tt_cb (GtkWidget *widget, GdkEventButton *event, gpointer data) {
- // even without PURESIGNAL, a two-tone generator is nice-to-have
- // so whe "PS" button now is a "TT" (two-tone) button.
- int state=transmitter->twotone?0:1;
- tx_set_twotone(transmitter,state);
- if(state) {
- set_button_text_color(widget,"red");
- } else {
- set_button_text_color(widget,"black");
- }
- return TRUE;
-}
#endif
#ifdef GPIO
g_signal_connect (ps_b, "button-press-event", G_CALLBACK(ps_cb), NULL);
gtk_grid_attach(GTK_GRID(grid),ps_b,(i%5),i/5,1,1);
i++;
-#else
- GtkWidget *tt_b=gtk_button_new_with_label("TT");
- gtk_widget_show(tt_b);
- gtk_grid_attach(GTK_GRID(grid),tt_b,(i%5),i/5,1,1);
- g_signal_connect (tt_b, "pressed", G_CALLBACK(tt_cb), NULL);
- if(transmitter->twotone) {
- set_button_text_color(tt_b,"red");
- }
- i++;
#endif
GtkWidget *pa_b=gtk_button_new_with_label("PA");