summaryrefslogtreecommitdiff
path: root/quantum/led_matrix/led_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/led_matrix/led_matrix.h
parentca7b2d63a79271d2a8b1e4759125e35f69da284b (diff)
Add missing rgb matrix default parameters (#22281)
Diffstat (limited to 'quantum/led_matrix/led_matrix.h')
-rw-r--r--quantum/led_matrix/led_matrix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h
index eeaeee20b5..941d42aeca 100644
--- a/quantum/led_matrix/led_matrix.h
+++ b/quantum/led_matrix/led_matrix.h
@@ -58,6 +58,10 @@
# define LED_MATRIX_DEFAULT_SPD UINT8_MAX / 2
#endif
+#ifndef LED_MATRIX_DEFAULT_FLAGS
+# define LED_MATRIX_DEFAULT_FLAGS LED_FLAG_ALL
+#endif
+
#ifndef LED_MATRIX_LED_FLUSH_LIMIT
# define LED_MATRIX_LED_FLUSH_LIMIT 16
#endif