1
0
Fork 0

[Keyboard] Reduce compile size for dz60rgb v2.1 (#13680)

This commit is contained in:
Drashna Jaelre 2021-07-24 02:36:41 -07:00 committed by GitHub
parent a2d0efe5ad
commit 7907a72584
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -24,3 +24,6 @@ RGB_MATRIX_ENABLE = yes # Use RGB matrix
RGB_MATRIX_DRIVER = IS31FL3733 RGB_MATRIX_DRIVER = IS31FL3733
NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in NO_USB_STARTUP_CHECK = no # Disable initialization only when usb is plugged in
LTO_ENABLE = yes LTO_ENABLE = yes
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no

View file

@ -46,6 +46,7 @@
/* RGB Matrix configuration */ /* RGB Matrix configuration */
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE
# define RGB_MATRIX_KEYPRESSES # define RGB_MATRIX_KEYPRESSES
# define DRIVER_LED_TOTAL 22
#endif #endif
#define RGB_DI_PIN F7 #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 */ # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/ /*== all animations enable ==*/
# define RGBLIGHT_ANIMATIONS # define RGBLIGHT_ANIMATIONS
// RGB Matrix
# ifdef RGB_MATRIX_ENABLE
# define DRIVER_LED_TOTAL RGBLED_NUM
# endif
#endif #endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */