~ruther/qmk_firmware

7907a725846720b96833057e94b548c38fcd0116 — Drashna Jaelre 4 years ago a2d0efe
[Keyboard] Reduce compile size for dz60rgb v2.1 (#13680)

2 files changed, 4 insertions(+), 4 deletions(-)

M keyboards/dztech/dz60rgb/v2_1/rules.mk
M keyboards/ungodly/launch_pad/config.h
M keyboards/dztech/dz60rgb/v2_1/rules.mk => keyboards/dztech/dz60rgb/v2_1/rules.mk +3 -0
@@ 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

M keyboards/ungodly/launch_pad/config.h => keyboards/ungodly/launch_pad/config.h +1 -4
@@ 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 */