]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix Lily58 build with link-time optimization (#7181)
authorJonathan Rascher <jon@bcat.name>
Tue, 29 Oct 2019 01:08:48 +0000 (20:08 -0500)
committerJoel Challis <git@zvecr.com>
Tue, 29 Oct 2019 01:08:48 +0000 (01:08 +0000)
keyboards/lily58/config.h

index fb1cdf3962a1dff493b83725c1b00b0407717e03..50bf2beb32545cf32befed854b227ef5273679eb 100644 (file)
@@ -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