From 9909bd65e5ef0abf31a71ed5687406ca4c5a1647 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 17 Sep 2021 18:48:11 +0200 Subject: [PATCH] De-activate GPIO-CW for Controller2V2. --- gpio.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.45.2