mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
e725cdbc4b
@ -82,9 +82,9 @@ void refresh_leds(void) {
|
|||||||
uint8_t tile = tiles[x][y];
|
uint8_t tile = tiles[x][y];
|
||||||
uint8_t index = (y * 5) + x;
|
uint8_t index = (y * 5) + x;
|
||||||
if (tile) {
|
if (tile) {
|
||||||
setrgb(RGB_RED, &led[remap[index]]);
|
rgblight_setrgb_at(RGB_RED, remap[index]);
|
||||||
} else {
|
} else {
|
||||||
setrgb(RGB_WHITE, &led[remap[index]]);
|
rgblight_setrgb_at(RGB_WHITE, remap[index]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user