summaryrefslogtreecommitdiff
path: root/keyboards/crkbd
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2020-04-20 00:56:48 +0200
committerGitHub <noreply@github.com>2020-04-19 23:56:48 +0100
commit2d39a9dcdbdef1202d890a81505e7d33fe04cde0 (patch)
tree2fe4d5635a26cc21053afb13bb6dd99c362c5c33 /keyboards/crkbd
parent33bf4863f58e908f4bff7e8d729341f0fe7c4558 (diff)
Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773)
* Remove no-longer-necessary LTO checks from keyboards' config.h files * Remove unnecessary LTO check in @danielo515's Ergodox EZ keymap * Remove unnecessary USE_Link_Time_Optimization checks from keyboards' config.h files Note: DISABLE_LEADER doesn't seem to be used anywhere
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/config.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h
index 4357a218d4..fb1cdf3962 100644
--- a/keyboards/crkbd/config.h
+++ b/keyboards/crkbd/config.h
@@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C
#define USE_SERIAL
-#ifdef USE_Link_Time_Optimization
- // LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
- // so just disable them
- #define NO_ACTION_MACRO
- #define NO_ACTION_FUNCTION
-
- #define DISABLE_LEADER
-#endif // USE_Link_Time_Optimization
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION