projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b7b24
)
Do not activate CW vox while PTT is manually set.
author
c vw
<dl1ycf@darc.de>
Tue, 7 Aug 2018 13:39:56 +0000
(15:39 +0200)
committer
c vw
<dl1ycf@darc.de>
Tue, 7 Aug 2018 13:39:56 +0000
(15:39 +0200)
iambic.c
patch
|
blob
|
history
diff --git
a/iambic.c
b/iambic.c
index 0f5bf4789184a76c310170fbdfe61ee10a1e51e4..e01360583a9671b77bcfa73ac99046167d38c985 100644
(file)
--- a/
iambic.c
+++ b/
iambic.c
@@
-164,8
+164,9
@@
void keyer_event(int gpio, int level) {
if (state) {
// This is for aborting CAT CW messages if the key is hit.
cw_key_hit = 1;
- // we do PTT as soon as possible ...
- if (running && !cwvox) {
+ // we do PTT as soon as possible, but disable cwvox if
+ // PTT has been engaged manually
+ if (running && !cwvox && !mox) {
g_idle_add(ext_mox_update, (gpointer)(long) 1);
cwvox=(int) vox_hang;
}