Browse Source

fix winry25tc lightsout keymap (#25353)

ClownFish 1 year ago
parent
commit
8ae01715d6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      keyboards/winry/winry25tc/keymaps/lightsout/keymap.c

+ 2 - 2
keyboards/winry/winry25tc/keymaps/lightsout/keymap.c

@@ -82,9 +82,9 @@ void refresh_leds(void) {
             uint8_t tile  = tiles[x][y];
             uint8_t index = (y * 5) + x;
             if (tile) {
-                setrgb(RGB_RED, &led[remap[index]]);
+                rgblight_setrgb_at(RGB_RED, remap[index]);
             } else {
-                setrgb(RGB_WHITE, &led[remap[index]]);
+                rgblight_setrgb_at(RGB_WHITE, remap[index]);
             }
         }
     }