From d0c7dabf58ca1672db0b84c60186ce7a36de37c7 Mon Sep 17 00:00:00 2001 From: c vw Date: Fri, 1 Oct 2021 15:07:27 +0200 Subject: [PATCH] enhanced the CW fix for controller2V2 --- gpio.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gpio.c b/gpio.c index 9964999..46f0c93 100644 --- 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; -- 2.45.2