Skip to content

Commit

Permalink
fix backlight key for the light
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Jun 28, 2018
1 parent f1344d1 commit 7acc781
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions keyboards/planck/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef BACKLIGHT_ENABLE
backlight_step();
#endif
PORTE &= ~(1<<6);
#ifdef KEYBOARD_planck_rev5
PORTE &= ~(1<<6);
#endif
} else {
unregister_code(KC_RSFT);
PORTE |= (1<<6);
#ifdef KEYBOARD_planck_rev5
PORTE |= (1<<6);
#endif
}
return false;
break;
Expand Down

0 comments on commit 7acc781

Please sign in to comment.