summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-08-14 23:55:05 +0000
committerQMK Bot <hello@qmk.fm>2022-08-14 23:55:05 +0000
commit5334614e8a534c2d40cfe968a769277ed1a311b6 (patch)
treee2fd450a671f7fe196157317097b54fd94f3755c
parent630de240b4998210d48631d142b89ce4fbaab519 (diff)
parent4c91e5bef8324d6b21625aa698f153d9b47600d0 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/system76/system76_ec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/system76/system76_ec.c b/keyboards/system76/system76_ec.c
index 7fff780e58..f6c8af82fe 100644
--- a/keyboards/system76/system76_ec.c
+++ b/keyboards/system76/system76_ec.c
@@ -87,6 +87,7 @@ bool system76_ec_is_unlocked(void) { return bootloader_unlocked; }
enum Mode {
MODE_SOLID_COLOR = 0,
MODE_PER_KEY,
+ #ifndef DISABLE_RGB_MATRIX_ANIMATIONS
MODE_CYCLE_ALL,
MODE_CYCLE_LEFT_RIGHT,
MODE_CYCLE_UP_DOWN,
@@ -98,6 +99,7 @@ enum Mode {
MODE_RAINDROPS,
MODE_SPLASH,
MODE_MULTISPLASH,
+ #endif // DISABLE_RGB_MATRIX_ANIMATIONS
MODE_ACTIVE_KEYS,
MODE_DISABLED,
MODE_LAST,
@@ -107,6 +109,7 @@ enum Mode {
static enum rgb_matrix_effects mode_map[] = {
RGB_MATRIX_SOLID_COLOR,
RGB_MATRIX_CUSTOM_raw_rgb,
+ #ifndef DISABLE_RGB_MATRIX_ANIMATIONS
RGB_MATRIX_CYCLE_ALL,
RGB_MATRIX_CYCLE_LEFT_RIGHT,
RGB_MATRIX_CYCLE_UP_DOWN,
@@ -118,6 +121,7 @@ static enum rgb_matrix_effects mode_map[] = {
RGB_MATRIX_RAINDROPS,
RGB_MATRIX_SPLASH,
RGB_MATRIX_MULTISPLASH,
+ #endif // DISABLE_RGB_MATRIX_ANIMATIONS
RGB_MATRIX_CUSTOM_active_keys,
RGB_MATRIX_NONE,
};