]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
De-activate GPIO-CW for Controller2V2.
authorc vw <dl1ycf@darc.de>
Fri, 17 Sep 2021 16:48:11 +0000 (18:48 +0200)
committerc vw <dl1ycf@darc.de>
Fri, 17 Sep 2021 16:48:11 +0000 (18:48 +0200)
gpio.c

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;