diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-21 12:05:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 12:05:40 +1100 |
commit | 9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch) | |
tree | 9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/ktec/staryu/backlight_staryu.h | |
parent | 4b69225c225b76f6631977912c5197c834206b27 (diff) |
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/ktec/staryu/backlight_staryu.h')
-rw-r--r-- | keyboards/ktec/staryu/backlight_staryu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ktec/staryu/backlight_staryu.h b/keyboards/ktec/staryu/backlight_staryu.h index b90350e28b..34511da5c1 100644 --- a/keyboards/ktec/staryu/backlight_staryu.h +++ b/keyboards/ktec/staryu/backlight_staryu.h @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // Add backwards compatibility for existing keymaps static inline void backlight_set_value(uint8_t index, uint8_t level) { - static const uint8_t backlight_pins[BACKLIGHT_LED_COUNT] = BACKLIGHT_PINS; + static const uint8_t backlight_pins[] = BACKLIGHT_PINS; if (level) { setPinOutput(backlight_pins[index]); } else { |