From afc5cb7f0abafd75c178b188a5fc1b9138fba956 Mon Sep 17 00:00:00 2001 From: Jonathan Rascher Date: Mon, 28 Oct 2019 20:08:48 -0500 Subject: [PATCH] Fix Lily58 build with link-time optimization (#7181) --- keyboards/lily58/config.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/keyboards/lily58/config.h b/keyboards/lily58/config.h index fb1cdf3962a..50bf2beb325 100644 --- a/keyboards/lily58/config.h +++ b/keyboards/lily58/config.h @@ -24,5 +24,9 @@ along with this program. If not, see . #define USE_I2C #define USE_SERIAL -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION +#if !defined(NO_ACTION_MACRO) + #define NO_ACTION_MACRO +#endif +#if !defined(NO_ACTION_FUNCTION) + #define NO_ACTION_FUNCTION +#endif