From 8213eb7fbb979ee20c5394f1281713b76bde86e5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 4 Nov 2022 15:13:26 +1100 Subject: Fix DD warnings for RGBKB boards (#18944) --- keyboards/rgbkb/sol/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/rgbkb/sol/config.h') diff --git a/keyboards/rgbkb/sol/config.h b/keyboards/rgbkb/sol/config.h index f8c07b974e..1a477acad9 100644 --- a/keyboards/rgbkb/sol/config.h +++ b/keyboards/rgbkb/sol/config.h @@ -42,12 +42,14 @@ along with this program. If not, see . #ifdef IOS_DEVICE_ENABLE #define RGBLIGHT_LIMIT_VAL 40 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40 #elif RGBLIGHT_FULL_POWER #define RGBLIGHT_LIMIT_VAL 255 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 #else #define RGBLIGHT_LIMIT_VAL 120 + #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 #endif -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL // RGB Matrix Animation modes. Explicitly enabled // For full list of effects, see: // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects -- cgit v1.2.3