]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/lily58/config.h
Keyboard: Lily58 update serial.c and add OLED (#4715)
[qmk_firmware.git] / keyboards / lily58 / config.h
index db4844c91063e5bb3cc60986036abcde5138ee5b..b88ec06bf41fd2bab2f29a32243dc6f402a86b75 100644 (file)
@@ -18,4 +18,17 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #pragma once
 
-#include "serial_config.h"
\ No newline at end of file
+#include "config_common.h"
+#include <serial_config.h>
+
+#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