Skip to content

Commit

Permalink
[Keyboard] Reduce compile size for dz60rgb v2.1 (qmk#13680)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and nhongooi committed Dec 5, 2021
1 parent ab10088 commit f49496a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions keyboards/dztech/dz60rgb/v2_1/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions keyboards/ungodly/launch_pad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 */
Expand Down

0 comments on commit f49496a

Please sign in to comment.