summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco/nibble
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-12-12 15:30:08 +1100
committerGitHub <noreply@github.com>2023-12-12 15:30:08 +1100
commite64815511303584787b623c12ac8bab7dccb0034 (patch)
treed1096902ce4b467efb6e6e2886c8830ff27f3664 /keyboards/nullbitsco/nibble
parent3c7e9a6827660885a5c0b7ba1135d3f23a3b4cea (diff)
Rename `RGBLED_NUM` -> `RGBLIGHT_LED_COUNT` (#22570)
Diffstat (limited to 'keyboards/nullbitsco/nibble')
-rw-r--r--keyboards/nullbitsco/nibble/keymaps/via/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
index b71f9119ef..4e2f7dd4d6 100644
--- a/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
+++ b/keyboards/nullbitsco/nibble/keymaps/via/keymap.c
@@ -112,7 +112,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} else {
rgblight_timer_disable();
uint8_t val = rgblight_get_val();
- rgblight_sethsv_range(255, 255, val, 0, RGBLED_NUM-1);
+ rgblight_sethsv_range(255, 255, val, 0, RGBLIGHT_LED_COUNT-1);
}
deafened = !deafened;
}