From 534cd9d45e66b4750d7790fa7230b2108ab3966d Mon Sep 17 00:00:00 2001 From: Seebs Date: Thu, 23 Nov 2017 15:34:50 -0600 Subject: Make brightness easier to change Don't make the #defines unconditional, make them optional so users can override them with per-keymap settings more easily. --- keyboards/ergodox_ez/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'keyboards/ergodox_ez/config.h') diff --git a/keyboards/ergodox_ez/config.h b/keyboards/ergodox_ez/config.h index bf3ebceb1..81f749dfa 100644 --- a/keyboards/ergodox_ez/config.h +++ b/keyboards/ergodox_ez/config.h @@ -61,8 +61,13 @@ along with this program. If not, see . /* number of backlight levels */ #define BACKLIGHT_LEVELS 3 +#ifndef LED_BRIGHTNESS_LO #define LED_BRIGHTNESS_LO 15 +#endif +#ifndef LED_BRIGHTNESS_HI #define LED_BRIGHTNESS_HI 255 +#endif +#define LED_BRIGHTNESS_DEFAULT (LED_BRIGHTNESS_HI) /* ws2812 RGB LED */ #define RGB_DI_PIN D7 -- cgit v1.2.3-24-g4f1b