Browse Source

Fix Lily58 build with link-time optimization (#7181)

Jonathan Rascher 5 years ago
parent
commit
afc5cb7f0a
1 changed files with 6 additions and 2 deletions
  1. 6 2
      keyboards/lily58/config.h

+ 6 - 2
keyboards/lily58/config.h

@@ -24,5 +24,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #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