diff options
author | Rob Rogers <r2d2rogers@gmail.com> | 2019-04-16 12:29:48 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-16 10:29:48 -0700 |
commit | 565a7812ab734db7692d3b3480b456f5e7af0614 (patch) | |
tree | c0b2c3af8358ea4f7f5ea74de0c7f3823078d866 /keyboards/crkbd/rev1/config.h | |
parent | 838d09b0a9c78e7e57c9d01132154e78ebaaf560 (diff) | |
download | qmk_firmware-565a7812ab734db7692d3b3480b456f5e7af0614.tar.gz |
[Keyboard] Crkbd RGB Matrix config with WS2812 (#5627)
Diffstat (limited to 'keyboards/crkbd/rev1/config.h')
-rw-r--r-- | keyboards/crkbd/rev1/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h index 55bf5930f..6564c8503 100644 --- a/keyboards/crkbd/rev1/config.h +++ b/keyboards/crkbd/rev1/config.h @@ -53,7 +53,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* 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 |