From 52aa172f585c91f5738f599b519bee779aec1960 Mon Sep 17 00:00:00 2001 From: p4yne Date: Thu, 28 Apr 2022 20:35:57 +0200 Subject: [PATCH] Removed unnecessary usage of #ifdef/#undef --- .../kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c index ef2c2398a09..e381e246126 100644 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c +++ b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c @@ -183,15 +183,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ }; -#ifdef _______ -#undef _______ -#define _______ {0, 0, 0} - // layer color and type const uint8_t PROGMEM ledmap[][4] = { // LEDs off on Layer 0 - //[_LVL0_] = _______, + //[_LVL0_] = {{0, 0, 0}, LYR_SOLID}, [_LVL0_] = {C_HSV_WINERED, LYR_SOLID}, [_LVL1_] = {HSV_RED, LYR_TRANS}, [_LVL2_] = {HSV_MAGENTA, LYR_BLACK}, @@ -202,11 +198,6 @@ const uint8_t PROGMEM ledmap[][4] = { [_LVL7_] = {C_HSV_WINERED, LYR_SOLID} }; -#undef _______ -#define _______ KC_TRNS -#endif - - void keyboard_post_init_user(void) { // Call the post init code.