From: c vw <dl1ycf@darc.de>
Date: Tue, 12 Nov 2019 18:52:02 +0000 (+0100)
Subject: re-trigger CW hang time correctly in "STRAIGHT" mode
X-Git-Url: https://git.rkrishnan.org/%5B/htmlfontify-example.html?a=commitdiff_plain;h=375c2082c48d585936e7f208b53d67a3585ef4ee;p=pihpsdr.git

re-trigger CW hang time correctly in "STRAIGHT" mode
---

diff --git a/iambic.c b/iambic.c
index 9a1fc73..895a8fc 100644
--- 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()) {