projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
161e08d
)
MIDI: do CW key-down only if not doing internal CW
author
c vw
<dl1ycf@darc.de>
Fri, 21 May 2021 18:08:04 +0000
(20:08 +0200)
committer
c vw
<dl1ycf@darc.de>
Fri, 21 May 2021 18:08:04 +0000
(20:08 +0200)
midi3.c
patch
|
blob
|
history
diff --git
a/midi3.c
b/midi3.c
index 46141a6201c6ae8cd4762b4fa5b977ce1d9e2798..eedf934cf9e1606f573fb09de74a1a633a38207b 100644
(file)
--- a/
midi3.c
+++ b/
midi3.c
@@
-75,7
+75,7
@@
void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) {
//
// Since this if for immediate key-down, it does not rely on LOCALCW
//
- if (val != 0) {
+ if (val != 0
&& cw_keyer_internal == 0
) {
cw_key_down=960000; // max. 20 sec to protect hardware
cw_key_up=0;
cw_key_hit=1;