summaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix.h
diff options
context:
space:
mode:
authorFabien Fellay <33905146+FabienFellay@users.noreply.github.com>2024-01-30 04:56:32 +0100
committerGitHub <noreply@github.com>2024-01-30 14:56:32 +1100
commit734c7afa7d142e9d052d067615540d067ed4fdcf (patch)
tree078d781562da6637d08211217606c7ca3a7202b3 /quantum/rgb_matrix/rgb_matrix.h
parentca7b2d63a79271d2a8b1e4759125e35f69da284b (diff)
Add missing rgb matrix default parameters (#22281)
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix.h')
-rw-r--r--quantum/rgb_matrix/rgb_matrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix.h b/quantum/rgb_matrix/rgb_matrix.h
index b1bf839bf6..f8a6845e02 100644
--- a/quantum/rgb_matrix/rgb_matrix.h
+++ b/quantum/rgb_matrix/rgb_matrix.h
@@ -78,6 +78,10 @@
# define RGB_MATRIX_DEFAULT_SPD UINT8_MAX / 2
#endif
+#ifndef RGB_MATRIX_DEFAULT_FLAGS
+# define RGB_MATRIX_DEFAULT_FLAGS LED_FLAG_ALL
+#endif
+
#ifndef RGB_MATRIX_LED_FLUSH_LIMIT
# define RGB_MATRIX_LED_FLUSH_LIMIT 16
#endif