diff options
author | jack <0x6A73@pm.me> | 2023-02-12 23:11:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 17:11:43 +1100 |
commit | ef881364d41fa332c237f3e890c4de8fc684a888 (patch) | |
tree | 89e6a2e64ddb52fdeca35727137a2c5a1567fe9b /keyboards/handwired/swiftrax/bumblebee/bumblebee.c | |
parent | 9a654e5728bb80016d02d1365561bcc8badd8770 (diff) |
Fixup swiftrax/bumblebee (reduce firmware size) (#19834)
Diffstat (limited to 'keyboards/handwired/swiftrax/bumblebee/bumblebee.c')
-rw-r--r-- | keyboards/handwired/swiftrax/bumblebee/bumblebee.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/handwired/swiftrax/bumblebee/bumblebee.c b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c index 613a1fa1b3..1199b90b1f 100644 --- a/keyboards/handwired/swiftrax/bumblebee/bumblebee.c +++ b/keyboards/handwired/swiftrax/bumblebee/bumblebee.c @@ -21,18 +21,18 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) return false; if (clockwise) - tap_code16(KC_VOLU); + tap_code(KC_VOLU); else - tap_code16(KC_VOLD); + tap_code(KC_VOLD); return true; } // Initialize all RGB indicators to 'off' -__attribute__((weak)) -void keyboard_post_init_user(void) { +void keyboard_post_init_kb(void) { rgblight_setrgb_at(0, 0, 0, 0); // [..., 0] = top LED rgblight_setrgb_at(0, 0, 0, 1); // [..., 1] = middle LED rgblight_setrgb_at(0, 0, 0, 2); // [..., 2] = bottom LED + keyboard_post_init_user(); } // RGB Layer Indicators @@ -53,4 +53,4 @@ layer_state_t layer_state_set_kb(layer_state_t state) { rgblight_setrgb_at(0, 0, 0, 2); } return layer_state_set_user(state); -}
\ No newline at end of file +} |