summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-24 02:36:41 -0700
committerGitHub <noreply@github.com>2021-07-24 19:36:41 +1000
commit7907a725846720b96833057e94b548c38fcd0116 (patch)
tree22eb4dd4a85f24c60e9cc8e2c276317367119bf5
parenta2d0efe5ad79fbd63a682356aa2a4b6d186b1d8f (diff)
[Keyboard] Reduce compile size for dz60rgb v2.1 (#13680)
-rw-r--r--keyboards/dztech/dz60rgb/v2_1/rules.mk3
-rw-r--r--keyboards/ungodly/launch_pad/config.h5
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/dztech/dz60rgb/v2_1/rules.mk b/keyboards/dztech/dz60rgb/v2_1/rules.mk
index 7fdadb18dc..ff6a24b93b 100644
--- a/keyboards/dztech/dz60rgb/v2_1/rules.mk
+++ b/keyboards/dztech/dz60rgb/v2_1/rules.mk
@@ -24,3 +24,6 @@ RGB_MATRIX_ENABLE = yes # Use RGB matrix
RGB_MATRIX_DRIVER = IS31FL3733
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
LTO_ENABLE = yes
+
+SPACE_CADET_ENABLE = no
+GRAVE_ESC_ENABLE = no
diff --git a/keyboards/ungodly/launch_pad/config.h b/keyboards/ungodly/launch_pad/config.h
index c4da097601..d6db419774 100644
--- a/keyboards/ungodly/launch_pad/config.h
+++ b/keyboards/ungodly/launch_pad/config.h
@@ -46,6 +46,7 @@
/* RGB Matrix configuration */
#ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_KEYPRESSES
+# define DRIVER_LED_TOTAL 22
#endif
#define RGB_DI_PIN F7
@@ -58,10 +59,6 @@
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
# define RGBLIGHT_ANIMATIONS
-// RGB Matrix
-# ifdef RGB_MATRIX_ENABLE
-# define DRIVER_LED_TOTAL RGBLED_NUM
-# endif
#endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */