Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Jan 8, 2025
2 parents c1565be + 80c90a6 commit e28799d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion quantum/process_keycode/process_underglow.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

bool process_underglow(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
#if defined(RGBLIGHT_ENABLE) || (defined(RGB_MATRIX_ENABLE) && !defined(RGB_MATRIX_DISABLE_SHARED_KEYCODES))
const uint8_t shifted = get_mods() & MOD_MASK_SHIFT;
#endif

switch (keycode) {
case QK_UNDERGLOW_TOGGLE:
#if defined(RGBLIGHT_ENABLE)
Expand Down

0 comments on commit e28799d

Please sign in to comment.