Add blank lines, prefer explicit initialization

This commit is contained in:
Konstantin Đorđević
2019-02-18 06:08:52 +01:00
parent 14908f86fb
commit 6a088f7ff6
2 changed files with 9 additions and 2 deletions

View File

@@ -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);