summaryrefslogtreecommitdiff
path: root/keyboards/bm43a
diff options
context:
space:
mode:
authorDaniil Yastremskiy <Catharsis@post.cz>2021-08-09 21:32:35 +0300
committerGitHub <noreply@github.com>2021-08-09 11:32:35 -0700
commit26ea090190b815862f108903e5f41f20c6d16d66 (patch)
tree665542d8871b10de487eead9a76e99eca364bc2d /keyboards/bm43a
parent23becac3a650ac06e202bac8158b058a8b7b48f2 (diff)
Limit RGB max brightness on KPrepublic BM-series keyboards (#13132)
Diffstat (limited to 'keyboards/bm43a')
-rw-r--r--keyboards/bm43a/config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/bm43a/config.h b/keyboards/bm43a/config.h
index 2ab84781b4..e08561d916 100644
--- a/keyboards/bm43a/config.h
+++ b/keyboards/bm43a/config.h
@@ -55,7 +55,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+ #define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
#define RGBLIGHT_ANIMATIONS
@@ -70,3 +70,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
#endif
+#ifdef RGB_MATRIX_ENABLE
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value
+#endif