projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8e4ee
)
De-activate GPIO-CW for Controller2V2.
author
c vw
<dl1ycf@darc.de>
Fri, 17 Sep 2021 16:48:11 +0000
(18:48 +0200)
committer
c vw
<dl1ycf@darc.de>
Fri, 17 Sep 2021 16:48:11 +0000
(18:48 +0200)
gpio.c
patch
|
blob
|
history
diff --git
a/gpio.c
b/gpio.c
index d9d21d1282c6e09c61798cbd245204b905619e40..99649991e4c612d9ca3e023801bdc669d124b8e9 100644
(file)
--- a/
gpio.c
+++ b/
gpio.c
@@
-623,6
+623,9
@@
void gpio_set_defaults(int ctrlr) {
switches=switches_controller2_v1;
break;
case CONTROLLER2_V2:
+#ifdef LOCALCW
+ ENABLE_CW_BUTTONS=0;
+#endif
encoders=encoders_controller2_v2;
switches=switches_controller2_v2;
break;