summaryrefslogtreecommitdiff
path: root/quantum/template/avr
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/template/avr')
-rw-r--r--quantum/template/avr/config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h
index 304a54ae59..7e4a014495 100644
--- a/quantum/template/avr/config.h
+++ b/quantum/template/avr/config.h
@@ -190,9 +190,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
-//#define NO_ACTION_MACRO
-//#define NO_ACTION_FUNCTION
+/* disable these deprecated features by default */
+#ifndef LINK_TIME_OPTIMIZATION_ENABLE
+ #define NO_ACTION_MACRO
+ #define NO_ACTION_FUNCTION
+#endif
/*
* MIDI options
*/