[Keyboard] Reduce compile size of the Lily58 Keyboard (#5412)

This commit is contained in:
Drashna Jaelre
2019-03-18 14:21:10 -07:00
committed by MechMerlin
parent 4f0dc945c3
commit 28e182bc8a
3 changed files with 6 additions and 14 deletions

View File

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