aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/community/ergodox/drashna/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/community/ergodox/drashna/keymap.c b/layouts/community/ergodox/drashna/keymap.c
index 08689cf3d..fd867ede5 100644
--- a/layouts/community/ergodox/drashna/keymap.c
+++ b/layouts/community/ergodox/drashna/keymap.c
@@ -399,7 +399,8 @@ void suspend_wakeup_init_keymap(void) {
399 rgb_matrix_set_suspend_state(false); 399 rgb_matrix_set_suspend_state(false);
400} 400}
401 401
402void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, bool default_layer) { 402extern led_config_t g_led_config;
403void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue) {
403 for (int i = 0; i < DRIVER_LED_TOTAL; i++) { 404 for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
404 if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) { 405 if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) {
405 rgb_matrix_set_color( i, red, green, blue ); 406 rgb_matrix_set_color( i, red, green, blue );