summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorNathan <nathancooke7@gmail.com>2021-06-21 12:04:18 -0400
committerGitHub <noreply@github.com>2021-06-21 09:04:18 -0700
commitc0dd142d9fd05cb27ee457c11a57e60069f5411a (patch)
tree9d12dbb0b690f7394954d09c5803a2716ac7aaa0 /keyboards
parent59c572eaf085d6a71f1455a4a309bb83f5d7d83f (diff)
[Keyboard] le_chiffre.c conditional led_config (#13285)
disabling RGB_MATRIX_ENABLE causes led_config to fail during compile. Setting this conditional allows you to turn off RGB
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/le_chiffre/le_chiffre.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/le_chiffre/le_chiffre.c b/keyboards/le_chiffre/le_chiffre.c
index eae62ce02d..8eca292cce 100644
--- a/keyboards/le_chiffre/le_chiffre.c
+++ b/keyboards/le_chiffre/le_chiffre.c
@@ -15,6 +15,7 @@
*/
#include "le_chiffre.h"
+#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 3, 4, NO_LED, 5, 6 },
@@ -29,3 +30,4 @@ led_config_t g_led_config = { {
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
} };
+#endif