X-Git-Url: https://git.hcoop.net/jackhill/qmk/firmware.git/blobdiff_plain/838d09b0a9c78e7e57c9d01132154e78ebaaf560..565a7812ab734db7692d3b3480b456f5e7af0614:/keyboards/crkbd/rev1/config.h diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h index 55bf5930fd..6564c8503d 100644 --- a/keyboards/crkbd/rev1/config.h +++ b/keyboards/crkbd/rev1/config.h @@ -53,7 +53,14 @@ along with this program. If not, see . /* ws2812 RGB LED */ #define RGB_DI_PIN D3 +#ifdef RGBLIGHT_ENABLE #define RGBLED_NUM 12 // Number of LEDs +#endif + +#ifdef RGB_MATRIX_ENABLE +#define RGBLED_NUM 54 // Number of LEDs +#define DRIVER_LED_TOTAL RGBLED_NUM +#endif /* * Feature disable options