]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
re-trigger CW hang time correctly in "STRAIGHT" mode
authorc vw <dl1ycf@darc.de>
Tue, 12 Nov 2019 18:52:02 +0000 (19:52 +0100)
committerc vw <dl1ycf@darc.de>
Tue, 12 Nov 2019 18:52:02 +0000 (19:52 +0100)
iambic.c

index 9a1fc734c259d1b781d221eea6d0070749fbb88b..895a8fc4aaae598657d2c77421fc64f2d68521c1 100644 (file)
--- a/iambic.c
+++ b/iambic.c
@@ -503,6 +503,8 @@ static void* keyer_thread(void *arg) {
                       }
                      // dash released.
                       set_keyer_out(0);
+                     // since we stay in CHECK mode, re-trigger cwvox here
+                     cwvox=cw_keyer_hang_time;
                      // wait at least 10ms before re-activating sidetone,
                      // to allow the envelope of the side tone reaching zero
                       if (gpio_cw_sidetone_enabled()) {