From 375c2082c48d585936e7f208b53d67a3585ef4ee Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Tue, 12 Nov 2019 19:52:02 +0100
Subject: [PATCH] re-trigger CW hang time correctly in "STRAIGHT" mode

---
 iambic.c | 2 ++
 1 file changed, 2 insertions(+)

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()) {
-- 
2.45.2