aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dztech
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-12-19 08:30:51 +1100
committerfauxpark <fauxpark@gmail.com>2019-12-19 08:30:51 +1100
commit3f696664d67c96e5e39d426c1a10feba9fe2e3d4 (patch)
treeffd0f3f172b236f8f088086548f0a3fd43299992 /keyboards/dztech
parentd23e81b1f00e2a98b2543d0340870efb835d643b (diff)
downloadfirmware-3f696664d67c96e5e39d426c1a10feba9fe2e3d4.tar.gz
firmware-3f696664d67c96e5e39d426c1a10feba9fe2e3d4.tar.bz2
firmware-3f696664d67c96e5e39d426c1a10feba9fe2e3d4.zip
Missed these LTO blocks
Diffstat (limited to 'keyboards/dztech')
-rw-r--r--keyboards/dztech/dz60rgb_wkl/v1/config.h6
-rw-r--r--keyboards/dztech/dz60rgb_wkl/v2/config.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h
index 363f463ec..f7195a1c7 100644
--- a/keyboards/dztech/dz60rgb_wkl/v1/config.h
+++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h
@@ -32,6 +32,12 @@
/* 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
diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h
index a180e7714..7dace7b1e 100644
--- a/keyboards/dztech/dz60rgb_wkl/v2/config.h
+++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h
@@ -32,6 +32,12 @@
/* 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