mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 09:55:48 +00:00
[Keymap] Fix Preonic rev3 default keymap (#12698)
The rev3 boards use RGBLIGHT_ENABLE now instead of BACKLIGHT_ENABLE. This resolves the issue of flashing and losing functionality with the default keymap.
This commit is contained in:
parent
1f4e20cfda
commit
050457818c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue