]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Removed old interface to the CW keyer
authorc vw <dl1ycf@darc.de>
Mon, 7 Sep 2020 07:40:00 +0000 (09:40 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 7 Sep 2020 07:40:00 +0000 (09:40 +0200)
transmitter.c

index 20936d94a3e1db3c438e4694fe3e9907f8c938fe..9cba43ce19bbc050969a1687848cb72e960311df 100644 (file)
@@ -1517,18 +1517,6 @@ void tx_set_ps_sample_rate(TRANSMITTER *tx,int rate) {
 #endif
 }
 
-//
-// This is the old key-down/key-up interface for iambic.c
-// but now it also smoothes (cw_shape) the signal
-//
-void cw_hold_key(int state) {
-  if (state) {
-    cw_key_down = 960000;    // up to 20 sec
-  } else {
-    cw_key_down = 0;
-  }
-}
-
 // Sine tone generator:
 // somewhat improved, and provided two siblings
 // for generating side tones simultaneously on the