From d2da9d33c5c856729143c165f75f6b0d3870d707 Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Wed, 11 Aug 2021 17:03:58 +0200
Subject: [PATCH] Renamed PTT(Keyer) to PTT.

---
 midi.h  | 2 +-
 midi2.c | 4 ++--
 midi3.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/midi.h b/midi.h
index 8105c50..c79bc46 100644
--- a/midi.h
+++ b/midi.h
@@ -131,7 +131,7 @@ enum MIDIaction {
   MIDI_ACTION_PAN_HIGH,		// PANHIGH:		"high" value of current panadapter
   MIDI_ACTION_PAN_LOW,		// PANLOW:		"low" value of current panadapter
   MIDI_ACTION_PRE,		// PREAMP:		preamp on/off
-  MIDI_ACTION_PTTKEYER,		// PTT(Keyer):			set PTT state to "on" or "off"
+  MIDI_ACTION_PTT,		// PTT:			set PTT state to "on" or "off"
   MIDI_ACTION_PS,		// PURESIGNAL:		toggle PURESIGNAL on/off
   MIDI_ACTION_RF_GAIN,		// RFGAIN:		receiver RF gain
   MIDI_ACTION_TX_DRIVE,		// RFPOWER:		adjust TX RF output power
diff --git a/midi2.c b/midi2.c
index 640be8c..30b96d1 100644
--- a/midi2.c
+++ b/midi2.c
@@ -62,7 +62,7 @@ void NewMidiEvent(enum MIDIevent event, int channel, int note, int val) {
                         case MIDI_ACTION_CWLEFT:
                         case MIDI_ACTION_CWRIGHT:
                         case MIDI_ACTION_CWKEYER:
-                        case MIDI_ACTION_PTTKEYER:
+                        case MIDI_ACTION_PTT:
                           // deliver message for note-on and note-off
                           DoTheMidi(desc->action, desc->type, val);
                           break;
@@ -218,7 +218,7 @@ ACTION_TABLE ActionTable[] = {
         { MIDI_ACTION_PAN_HIGH,        	"PANHIGH",      	MIDI_KNOB|MIDI_WHEEL 		},
         { MIDI_ACTION_PAN_LOW,         	"PANLOW",       	MIDI_KNOB|MIDI_WHEEL 		},
         { MIDI_ACTION_PRE,             	"PREAMP",       	MIDI_KEY 			},
-        { MIDI_ACTION_PTTKEYER,        	"PTT(Keyer)",     	MIDI_KEY 			},
+        { MIDI_ACTION_PTT,        	"PTT",     		MIDI_KEY 			},
         { MIDI_ACTION_PS,               "PURESIGNAL",   	MIDI_KEY 			},
         { MIDI_ACTION_RF_GAIN,         	"RFGAIN",       	MIDI_KNOB|MIDI_WHEEL 		},
         { MIDI_ACTION_TX_DRIVE,         "RFPOWER",      	MIDI_KNOB|MIDI_WHEEL 		},
diff --git a/midi3.c b/midi3.c
index f632586..b097999 100644
--- a/midi3.c
+++ b/midi3.c
@@ -583,7 +583,7 @@ int DoTheRestOfTheMIDI(void *data) {
 	/////////////////////////////////////////////////////////// "MOX"
 	case MIDI_ACTION_MOX: // only key supported
 	    // Note this toggles the PTT state without knowing the
-            // actual state. See MIDI_ACTION_PTTKEYER for actually
+            // actual state. See MIDI_ACTION_PTT for actually
             // *setting* PTT
 	    if (can_transmit) {
 	        new = !mox;
-- 
2.45.2