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 | |
parent | 14908f86fb97bb7ddc269515a48e681799baccf3 (diff) | |
download | qmk_firmware-6a088f7ff6b6e001fdac46252d75863b7611fd0d.tar.gz qmk_firmware-6a088f7ff6b6e001fdac46252d75863b7611fd0d.tar.xz |
Add blank lines, prefer explicit initialization
Diffstat (limited to 'keyboards')
-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 c8b6edb3d..de1b67e98 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); |