From 7907a725846720b96833057e94b548c38fcd0116 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 24 Jul 2021 02:36:41 -0700 Subject: [PATCH] [Keyboard] Reduce compile size for dz60rgb v2.1 (#13680) --- keyboards/dztech/dz60rgb/v2_1/rules.mk | 3 +++ keyboards/ungodly/launch_pad/config.h | 5 +---- 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 */