From 932a67ced2c68363b07627ef4c095785f4ec5eee Mon Sep 17 00:00:00 2001 From: Dasky <32983009+daskygit@users.noreply.github.com> Date: Fri, 16 Jul 2021 20:16:06 +0100 Subject: [PATCH] Limit RGB brightness for crkbd when not defined (#13568) --- keyboards/crkbd/post_config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/keyboards/crkbd/post_config.h b/keyboards/crkbd/post_config.h index e9b0e09dd..00034a163 100644 --- a/keyboards/crkbd/post_config.h +++ b/keyboards/crkbd/post_config.h @@ -29,3 +29,15 @@ #ifndef BOOTMAGIC_LITE_COLUMN_RIGHT # define BOOTMAGIC_LITE_COLUMN_RIGHT 1 #endif + +#ifdef RGBLIGHT_ENABLE +# ifndef RGBLIGHT_LIMIT_VAL +# define RGBLIGHT_LIMIT_VAL 120 +# endif +#endif + +#ifdef RGB_MATRIX_ENABLE +# ifndef RGB_MATRIX_MAXIMUM_BRIGHTNESS +# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 +# endif +#endif