From e1d48786276b8716b2388085bc554382ce076209 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 20 Jul 2023 13:43:10 +0800 Subject: [PATCH] fl16: Disable unused SW pins in RGB LED controller Signed-off-by: Daniel Schaefer --- keyboards/framework/ansi/config.h | 1 + keyboards/framework/macropad/config.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/keyboards/framework/ansi/config.h b/keyboards/framework/ansi/config.h index 7463fb212c..600e85aa92 100644 --- a/keyboards/framework/ansi/config.h +++ b/keyboards/framework/ansi/config.h @@ -10,3 +10,4 @@ #define DRIVER_1_LED_TOTAL 48 #define DRIVER_2_LED_TOTAL 49 #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) +#define ISSI_CONFIGURATION 0x21 // Enable only the first 9 SW and disable software shutdown diff --git a/keyboards/framework/macropad/config.h b/keyboards/framework/macropad/config.h index a1b3399733..f652f8bc14 100644 --- a/keyboards/framework/macropad/config.h +++ b/keyboards/framework/macropad/config.h @@ -7,3 +7,6 @@ #define DRIVER_COUNT 1 #define DRIVER_ADDR_1 0b0100000 #define RGB_MATRIX_LED_COUNT 24 +// Enable only the first 4 SW and disable software shutdown +// Otherwise voltage on SW pins without LEDs causes voltage rise and noise +#define ISSI_CONFIGURATION 0x71