aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2021-07-16 20:16:06 +0100
committerGitHub <noreply@github.com>2021-07-16 12:16:06 -0700
commit932a67ced2c68363b07627ef4c095785f4ec5eee (patch)
tree5204fa8583df163d9bd10c49010c05e8c9599010
parent6c550cc7f715a44a77979cfeec1792e01e4174cd (diff)
downloadqmk_firmware-932a67ced2c68363b07627ef4c095785f4ec5eee.tar.gz
qmk_firmware-932a67ced2c68363b07627ef4c095785f4ec5eee.zip
Limit RGB brightness for crkbd when not defined (#13568)
-rw-r--r--keyboards/crkbd/post_config.h12
1 files changed, 12 insertions, 0 deletions
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 @@
29#ifndef BOOTMAGIC_LITE_COLUMN_RIGHT 29#ifndef BOOTMAGIC_LITE_COLUMN_RIGHT
30# define BOOTMAGIC_LITE_COLUMN_RIGHT 1 30# define BOOTMAGIC_LITE_COLUMN_RIGHT 1
31#endif 31#endif
32
33#ifdef RGBLIGHT_ENABLE
34# ifndef RGBLIGHT_LIMIT_VAL
35# define RGBLIGHT_LIMIT_VAL 120
36# endif
37#endif
38
39#ifdef RGB_MATRIX_ENABLE
40# ifndef RGB_MATRIX_MAXIMUM_BRIGHTNESS
41# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
42# endif
43#endif