From 8fb790c1ebab5d5c8882c2c6f1c1b1fb792dcc91 Mon Sep 17 00:00:00 2001 From: PianetaRadio <78976006+PianetaRadio@users.noreply.github.com> Date: Tue, 16 Apr 2024 20:34:52 +0200 Subject: [PATCH] CW --- rigdaemon.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rigdaemon.cpp b/rigdaemon.cpp index e3173dd..98d9a7e 100644 --- a/rigdaemon.cpp +++ b/rigdaemon.cpp @@ -118,8 +118,9 @@ void RigDaemon::rigUpdate(RIG *my_rig) if (rigCmd.cwSend && (rigGet.mode == RIG_MODE_CW || rigGet.mode == RIG_MODE_CWN || rigGet.mode == RIG_MODE_CWR)) { + //if (rig_has_get_func(my_rig, RIG_FUNCTION_SEND_MORSE)) rig_send_morse(my_rig, RIG_VFO_CURR, &rigSet.cwMem); retcode = rig_send_morse(my_rig, RIG_VFO_CURR, &rigSet.cwMem); - //if (retcode == RIG_OK) rigGet.ptt = RIG_PTT_ON; //assume PPT on if send_morse is ok + if (retcode == RIG_OK) rigGet.ptt = RIG_PTT_ON; //assume PPT on if send_morse is ok rigCmd.cwSend = 0; }