From 050457818c8c8710124d1aba454f80260c57ae7f Mon Sep 17 00:00:00 2001 From: nopjmp Date: Sat, 19 Jun 2021 21:20:50 -0500 Subject: [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. --- keyboards/preonic/keymaps/default/keymap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'keyboards') diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 078ab27265..b70aa31c14 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c @@ -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 -- cgit v1.2.1