[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
master
Nathan 2021-06-21 12:04:18 -04:00 committed by GitHub
parent 59c572eaf0
commit c0dd142d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
*/ */
#include "le_chiffre.h" #include "le_chiffre.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { { led_config_t g_led_config = { {
// Key Matrix to LED Index // Key Matrix to LED Index
{ 3, 4, NO_LED, 5, 6 }, { 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 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
} }; } };
#endif