diff options
author | Stephen Hogsten <stephenhogsten@gmail.com> | 2019-11-11 18:27:20 -0800 |
---|---|---|
committer | fauxpark <fauxpark@gmail.com> | 2019-11-12 13:27:20 +1100 |
commit | 3f6426ff5f14d1cdac9af935aaf175d3dbca3592 (patch) | |
tree | 1815cf88c7ef59ef9c0c3c44d77515da56cc241b /quantum/template/avr/config.h | |
parent | e75919960fc53d16b6d8281018689aec3e62da1b (diff) | |
download | qmk_firmware-3f6426ff5f14d1cdac9af935aaf175d3dbca3592.tar.gz qmk_firmware-3f6426ff5f14d1cdac9af935aaf175d3dbca3592.zip |
disable deprecated actions (#7211)
* disable deprecated actions
* wrap no action with link time optimization test
* fix link time optimization check
Diffstat (limited to 'quantum/template/avr/config.h')
-rw-r--r-- | quantum/template/avr/config.h | 7 |
1 files changed, 5 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 | */ |