summaryrefslogtreecommitdiffstats
path: root/keyboards/terrazzo/terrazzo.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-04-13 19:51:31 +1000
committerGitHub <noreply@github.com>2021-04-13 19:51:31 +1000
commita28fbcda2306634c74e196ce98f8bebb701445b0 (patch)
tree31e24d9b9e9c35de22724be01cf0be11b319fb2a /keyboards/terrazzo/terrazzo.c
parentce99f98bb5217ede628cfbf7e20924346b4279da (diff)
Terrazzo: Fix wrong LED Matrix function names (#12561)
Diffstat (limited to 'keyboards/terrazzo/terrazzo.c')
-rw-r--r--keyboards/terrazzo/terrazzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/terrazzo/terrazzo.c b/keyboards/terrazzo/terrazzo.c
index 2afda085b3..1319b05e76 100644
--- a/keyboards/terrazzo/terrazzo.c
+++ b/keyboards/terrazzo/terrazzo.c
@@ -58,7 +58,7 @@ uint8_t terrazzo_effect = 1;
void terrazzo_set_pixel(uint8_t x, uint8_t y, uint8_t value) {
uint8_t target = y * LED_MATRIX_COLS + x;
if (target < DRIVER_LED_TOTAL && target >= 0) {
- led_matrix_set_index_value(y * LED_MATRIX_COLS + x, value);
+ led_matrix_set_value(y * LED_MATRIX_COLS + x, value);
}
}
@@ -112,7 +112,7 @@ void terrazzo_mode_off(void) {
void terrazzo_render(void) {
switch(terrazzo_effect) {
case TERRAZZO_NONE:
- led_matrix_set_index_value_all(0);
+ led_matrix_set_value_all(0);
break;
#define TERRAZZO_EFFECT(name, ...) \
case TERRAZZO_EFFECT_##name: \