summaryrefslogtreecommitdiff
path: root/keyboards/planck/ez
diff options
context:
space:
mode:
authorFlorian Didron <florian@111studio.jp>2019-06-07 14:23:56 +0900
committerFlorian Didron <florian@111studio.jp>2019-06-07 14:23:56 +0900
commitf55c4ced283e5bdaa26c765125dc21611eeb2ba8 (patch)
tree5943878c783242efe2c57788a1a246a19bd2c985 /keyboards/planck/ez
parent1a3f69b02abfbcbd4280d5bf116cd48debdc1dfa (diff)
Allows disabling the RGB Matrix on the Planck EZ
Diffstat (limited to 'keyboards/planck/ez')
-rw-r--r--keyboards/planck/ez/ez.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c
index 3ad694c4a3..9b0cf13d7b 100644
--- a/keyboards/planck/ez/ez.c
+++ b/keyboards/planck/ez/ez.c
@@ -15,6 +15,7 @@
*/
#include "ez.h"
+#ifdef RGB_MATRIX_ENABLE
const is31_led g_is31_leds[DRIVER_LED_TOTAL] = {
/* Refer to IS31 manual for these locations
* driver
@@ -99,6 +100,7 @@ led_config_t g_led_config = { {
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1
} };
+#endif
void matrix_init_kb(void) {