From 7c414248c5bf1a062780cd14142b4ff8336af090 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Thu, 20 Jul 2023 19:00:11 +0800 Subject: [PATCH] fl16: Set RGB current limit to stay under 500mA Also reduces noise even further. Signed-off-by: Daniel Schaefer --- keyboards/framework/ansi/config.h | 4 ++++ keyboards/framework/macropad/config.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/keyboards/framework/ansi/config.h b/keyboards/framework/ansi/config.h index 600e85aa92..67fba3acfe 100644 --- a/keyboards/framework/ansi/config.h +++ b/keyboards/framework/ansi/config.h @@ -11,3 +11,7 @@ #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 + +// Limit current to ensure max current draw is just about 500mA +// when white att 100% brightness +#define ISSI_GLOBALCURRENT 104 diff --git a/keyboards/framework/macropad/config.h b/keyboards/framework/macropad/config.h index f652f8bc14..82a35035b1 100644 --- a/keyboards/framework/macropad/config.h +++ b/keyboards/framework/macropad/config.h @@ -10,3 +10,7 @@ // 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 + +// Limit current to ensure max current draw is just about 500mA +// when white at 100% brightness +#define ISSI_GLOBALCURRENT 185