projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56784a
)
enhanced the CW fix for controller2V2
author
c vw
<dl1ycf@darc.de>
Fri, 1 Oct 2021 13:07:27 +0000
(15:07 +0200)
committer
c vw
<dl1ycf@darc.de>
Fri, 1 Oct 2021 13:07:27 +0000
(15:07 +0200)
gpio.c
patch
|
blob
|
history
diff --git
a/gpio.c
b/gpio.c
index 99649991e4c612d9ca3e023801bdc669d124b8e9..46f0c93bdede20bdeedcd0fd4e212178f394e9ff 100644
(file)
--- a/
gpio.c
+++ b/
gpio.c
@@
-624,6
+624,12
@@
void gpio_set_defaults(int ctrlr) {
break;
case CONTROLLER2_V2:
#ifdef LOCALCW
+ //
+ // This controller uses nearly all GPIO lines,
+ // so lines 9, 10, 11 are not available for
+ // CW keys and producing a side tone
+ //
+ ENABLE_GPIO_SIDETONE=0;
ENABLE_CW_BUTTONS=0;
#endif
encoders=encoders_controller2_v2;