Skip to content

Commit

Permalink
[Keymap] Fix Preonic rev3 default keymap (#12698)
Browse files Browse the repository at this point in the history
The rev3 boards use RGBLIGHT_ENABLE now instead of BACKLIGHT_ENABLE.

This resolves the issue of flashing and losing functionality with the default keymap.
  • Loading branch information
nopjmp committed Jun 20, 2021
1 parent 1f4e20c commit 0504578
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keyboards/preonic/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef BACKLIGHT_ENABLE
backlight_step();
#endif
#ifdef RGBLIGHT_ENABLE
rgblight_step();
#endif
#ifdef __AVR__
writePinLow(E6);
#endif
Expand Down

0 comments on commit 0504578

Please sign in to comment.