summaryrefslogtreecommitdiff
path: root/quantum/template/ps2avrgb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/template/ps2avrgb/config.h')
-rw-r--r--quantum/template/ps2avrgb/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/template/ps2avrgb/config.h b/quantum/template/ps2avrgb/config.h
index f6d7c25e04..4deb719f5a 100644
--- a/quantum/template/ps2avrgb/config.h
+++ b/quantum/template/ps2avrgb/config.h
@@ -44,6 +44,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NO_UART 1
+/* disable these deprecated features by default */
+#ifndef LINK_TIME_OPTIMIZATION_ENABLE
+ #define NO_ACTION_MACRO
+ #define NO_ACTION_FUNCTION
+#endif
+
/* key combination for magic key command */
/* defined by default; to change, uncomment and set to the combination you want */
// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT)