From abca5bd7fb0fcd8c6ae922dcd4386195c70a64ca Mon Sep 17 00:00:00 2001 From: c vw Date: Wed, 21 Jul 2021 09:27:36 +0200 Subject: [PATCH] removed PTT_INCLUDE etc. since nowhere supported, and obsolete by the new actions.c --- Makefile | 7 ------- gpio.c | 6 ------ 2 files changed, 13 deletions(-) diff --git a/Makefile b/Makefile index 3a5040f..a5fdd19 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,6 @@ PURESIGNAL_INCLUDE=PURESIGNAL # uncomment the line below for various debug facilities #DEBUG_OPTION=-D DEBUG -#PTT_INCLUDE=PTT - # very early code not included yet #SERVER_INCLUDE=SERVER @@ -127,10 +125,6 @@ LOCALCW_HEADERS= iambic.h LOCALCW_OBJS = iambic.o endif -ifeq ($(PTT_INCLUDE),PTT) -PTT_OPTIONS=-D PTT -endif - ifeq ($(GPIO_INCLUDE),GPIO) GPIOD_VERSION=$(shell pkg-config --modversion libgpiod) ifeq ($(GPIOD_VERSION),1.2) @@ -221,7 +215,6 @@ endif OPTIONS=$(SMALL_SCREEN_OPTIONS) $(MIDI_OPTIONS) $(PURESIGNAL_OPTIONS) $(REMOTE_OPTIONS) $(USBOZY_OPTIONS) \ $(GPIO_OPTIONS) $(GPIOD_OPTIONS) $(SOAPYSDR_OPTIONS) $(LOCALCW_OPTIONS) \ $(STEMLAB_OPTIONS) \ - $(PTT_OPTIONS) \ $(SERVER_OPTIONS) \ $(AUDIO_OPTIONS) \ -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(DEBUG_OPTION) diff --git a/gpio.c b/gpio.c index 9c3c3ae..39be1f1 100644 --- a/gpio.c +++ b/gpio.c @@ -79,12 +79,6 @@ int ENABLE_CW_BUTTONS=1; int CW_ACTIVE_LOW=1; #endif -#ifdef PTT -int ENABLE_PTT_GPIO=1; -int PTT_GPIO=14; -int PTT_ACTIVE_LOW=1; -#endif - enum { TOP_ENCODER, BOTTOM_ENCODER -- 2.45.2