summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/ergodox_ez.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/ergodox_ez.h')
-rw-r--r--keyboards/ergodox_ez/ergodox_ez.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.h b/keyboards/ergodox_ez/ergodox_ez.h
index a6890a70c5..4433dbe6db 100644
--- a/keyboards/ergodox_ez/ergodox_ez.h
+++ b/keyboards/ergodox_ez/ergodox_ez.h
@@ -30,8 +30,12 @@ void ergodox_blink_all_leds(void);
uint8_t init_mcp23018(void);
uint8_t ergodox_left_leds_update(void);
+#ifndef LED_BRIGHTNESS_LO
#define LED_BRIGHTNESS_LO 15
+#endif
+#ifndef LED_BRIGHTNESS_LO
#define LED_BRIGHTNESS_HI 255
+#endif
inline void ergodox_board_led_on(void) { DDRD |= (1<<6); PORTD |= (1<<6); }