[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
This commit is contained in:
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

View file

@ -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