summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/rev2/keymaps/default/keymap.c')
-rw-r--r--keyboards/helix/rev2/keymaps/default/keymap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/helix/rev2/keymaps/default/keymap.c b/keyboards/helix/rev2/keymaps/default/keymap.c
index 16af027eac..dca9be9a47 100644
--- a/keyboards/helix/rev2/keymaps/default/keymap.c
+++ b/keyboards/helix/rev2/keymaps/default/keymap.c
@@ -510,7 +510,14 @@ void music_scale_user(void)
//SSD1306 OLED update loop, make sure to add #define SSD1306OLED in config.h
#ifdef SSD1306OLED
+// hook point for 'led_test' keymap
+// 'default' keymap's led_test_init() is empty function, do nothing
+// 'led_test' keymap's led_test_init() force rgblight_mode_noeeprom(35);
+__attribute__ ((weak))
+void led_test_init(void) {}
+
void matrix_scan_user(void) {
+ led_test_init();
iota_gfx_task(); // this is what updates the display continuously
}