X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Flily58%2Fconfig.h;h=b88ec06bf41fd2bab2f29a32243dc6f402a86b75;hb=ea47be936b41a31e2644ad3403d91010916683ce;hp=db4844c91063e5bb3cc60986036abcde5138ee5b;hpb=5b5f452bf9feae121ec5c2f3e9d5d993fcb73f92;p=qmk_firmware.git
diff --git a/keyboards/lily58/config.h b/keyboards/lily58/config.h
index db4844c91..b88ec06bf 100644
--- a/keyboards/lily58/config.h
+++ b/keyboards/lily58/config.h
@@ -18,4 +18,17 @@ along with this program. If not, see .
#pragma once
-#include "serial_config.h"
\ No newline at end of file
+#include "config_common.h"
+#include
+
+#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
\ No newline at end of file