From: c vw Date: Fri, 17 Sep 2021 16:48:11 +0000 (+0200) Subject: De-activate GPIO-CW for Controller2V2. X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=9909bd65e5ef0abf31a71ed5687406ca4c5a1647;p=pihpsdr.git De-activate GPIO-CW for Controller2V2. --- diff --git a/gpio.c b/gpio.c index d9d21d1..9964999 100644 --- 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;