Skip to content

Commit

Permalink
fix(underglow): fix RGB startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Apr 27, 2023
1 parent 566212b commit dea3e81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/rgb_underglow.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,8 @@ static int zmk_rgb_underglow_init(const struct device *_arg) {
zmk_rgb_underglow_save_state();
k_work_submit(&underglow_work);
zmk_rgb_underglow_off();
zmk_rgb_underglow_on();
if (IS_ENABLED(CONFIG_ZMK_RGB_UNDERGLOW_ON_START))
zmk_rgb_underglow_on();
triggered = false;
return 0;
}
Expand Down

0 comments on commit dea3e81

Please sign in to comment.