diff --git a/keyboards/tunks/ergo33/config.h b/keyboards/tunks/ergo33/config.h index 96cc5b93b..11a427a30 100644 --- a/keyboards/tunks/ergo33/config.h +++ b/keyboards/tunks/ergo33/config.h @@ -43,6 +43,15 @@ /* Underglow + top RGB configuration */ #define RGB_DI_PIN D4 +#define RGBLIGHT_ANIMATIONS + +#if !defined(RGBLED_NUM) +/* RGB LED count + * No external LED PCB: 10 + * External LED PCB: 14 + */ +# define RGBLED_NUM 14 +#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ //#define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/tunks/ergo33/keymaps/rgb/config.h b/keyboards/tunks/ergo33/keymaps/rgb/config.h index dceb82945..e2c8883ed 100644 --- a/keyboards/tunks/ergo33/keymaps/rgb/config.h +++ b/keyboards/tunks/ergo33/keymaps/rgb/config.h @@ -20,5 +20,8 @@ * No external LED PCB: 10 * External LED PCB: 14 */ -#define RGBLED_NUM 10 -#define RGBLIGHT_ANIMATIONS \ No newline at end of file +#if defined(RGBLED_NUM) +# undef RGBLED_NUM +# define RGBLED_NUM 10 +#endif +#define RGBLIGHT_ANIMATIONS