diff options
| author | Ryan | 2024-11-19 23:53:33 +0100 |
|---|---|---|
| committer | GitHub | 2024-11-19 23:53:33 +0100 |
| commit | 9c865839819bf9ec3ed573354a53bcbe905080f7 (patch) | |
| tree | 9b9b94bf3ec84ad3dcdac28949046180c55243d8 /quantum/quantum.c | |
| parent | e66fce38b232646111e6811a03133e557d897cba (diff) | |
Backward compatibility for new RGB keycode handling (#24490)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 8bfe04e179..874df1593a 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -60,7 +60,7 @@ # include "process_rgb_matrix.h" #endif -#if defined(RGBLIGHT_ENABLE) +#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) # include "process_underglow.h" #endif @@ -382,7 +382,7 @@ bool process_record_quantum(keyrecord_t *record) { #ifdef GRAVE_ESC_ENABLE process_grave_esc(keycode, record) && #endif -#if defined(RGBLIGHT_ENABLE) +#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) process_underglow(keycode, record) && #endif #if defined(RGB_MATRIX_ENABLE) |