diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-18 06:08:52 +0100 |
---|---|---|
committer | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-03-02 15:15:59 +0100 |
commit | 6a088f7ff6b6e001fdac46252d75863b7611fd0d (patch) | |
tree | 7df9676d6be4b6aa2d89b4dcc0477098b0ed9d07 /keyboards/melody96/keymaps | |
parent | 14908f86fb97bb7ddc269515a48e681799baccf3 (diff) |
Add blank lines, prefer explicit initialization
Diffstat (limited to 'keyboards/melody96/keymaps')
-rw-r--r-- | keyboards/melody96/keymaps/konstantin/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/melody96/keymaps/konstantin/keymap.c b/keyboards/melody96/keymaps/konstantin/keymap.c index c8b6edb3d6..de1b67e98b 100644 --- a/keyboards/melody96/keymaps/konstantin/keymap.c +++ b/keyboards/melody96/keymaps/konstantin/keymap.c @@ -3,7 +3,7 @@ static const hsv_t *colors[] = { &GODSPEED_BLUE, &GODSPEED_YELLOW }; static size_t cnum = sizeof colors / sizeof *colors; -static size_t cidx; +static size_t cidx = 0; void eeconfig_init_keymap(void) { rgblight_sethsv(colors[cidx]->h, colors[cidx]->s, colors[cidx]->v); |