Browse Source

Removed unnecessary usage of #ifdef/#undef

pull/16085/head
p4yne 1 year ago
committed by GitHub
parent
commit
52aa172f58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions
  1. +1
    -10
      keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c

+ 1
- 10
keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c View File

@ -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.


Loading…
Cancel
Save