diff options
-rw-r--r-- | quantum/template/avr/config.h | 7 | ||||
-rw-r--r-- | quantum/template/ps2avrgb/config.h | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 304a54ae5..7e4a01449 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/>. | |||
190 | //#define NO_ACTION_LAYER | 190 | //#define NO_ACTION_LAYER |
191 | //#define NO_ACTION_TAPPING | 191 | //#define NO_ACTION_TAPPING |
192 | //#define NO_ACTION_ONESHOT | 192 | //#define NO_ACTION_ONESHOT |
193 | //#define NO_ACTION_MACRO | ||
194 | //#define NO_ACTION_FUNCTION | ||
195 | 193 | ||
194 | /* disable these deprecated features by default */ | ||
195 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
196 | #define NO_ACTION_MACRO | ||
197 | #define NO_ACTION_FUNCTION | ||
198 | #endif | ||
196 | /* | 199 | /* |
197 | * MIDI options | 200 | * MIDI options |
198 | */ | 201 | */ |
diff --git a/quantum/template/ps2avrgb/config.h b/quantum/template/ps2avrgb/config.h index f6d7c25e0..4deb719f5 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/>. | |||
44 | 44 | ||
45 | #define NO_UART 1 | 45 | #define NO_UART 1 |
46 | 46 | ||
47 | /* disable these deprecated features by default */ | ||
48 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
49 | #define NO_ACTION_MACRO | ||
50 | #define NO_ACTION_FUNCTION | ||
51 | #endif | ||
52 | |||
47 | /* key combination for magic key command */ | 53 | /* key combination for magic key command */ |
48 | /* defined by default; to change, uncomment and set to the combination you want */ | 54 | /* defined by default; to change, uncomment and set to the combination you want */ |
49 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | 55 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) |