summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/tunks/ergo33/config.h9
-rw-r--r--keyboards/tunks/ergo33/keymaps/rgb/config.h7
2 files changed, 14 insertions, 2 deletions
diff --git a/keyboards/tunks/ergo33/config.h b/keyboards/tunks/ergo33/config.h
index 96cc5b93b0..11a427a30e 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 dceb82945e..e2c8883ed4 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