]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Missed these LTO blocks
authorfauxpark <fauxpark@gmail.com>
Wed, 18 Dec 2019 21:30:51 +0000 (08:30 +1100)
committerfauxpark <fauxpark@gmail.com>
Wed, 18 Dec 2019 21:30:51 +0000 (08:30 +1100)
keyboards/dztech/dz60rgb_wkl/v1/config.h
keyboards/dztech/dz60rgb_wkl/v2/config.h

index 363f463ec0b53509cee39e2bbc682ac0f27eaf24..f7195a1c7dbd2e9f20c80fcfc71a0f45cd780003 100644 (file)
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 #define DEBOUNCE 3
 
+/* disable these deprecated features by default */
+#ifndef LINK_TIME_OPTIMIZATION_ENABLE
+#    define NO_ACTION_MACRO
+#    define NO_ACTION_FUNCTION
+#endif
+
 #ifdef RGB_MATRIX_ENABLE
 #    define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
 #    define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
index a180e7714109b9fb6ebda40871aec0b0086b615f..7dace7b1e871ae1c0495d4a71c1eb1d653968014 100644 (file)
 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 #define DEBOUNCE 3
 
+/* disable these deprecated features by default */
+#ifndef LINK_TIME_OPTIMIZATION_ENABLE
+#    define NO_ACTION_MACRO
+#    define NO_ACTION_FUNCTION
+#endif
+
 #ifdef RGB_MATRIX_ENABLE
 #    define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
 #    define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended