remove USE_Link_Time_Optimization check

This commit is contained in:
nrtkbb 2019-09-29 22:47:43 +09:00
parent 3bb6345e2f
commit 7f93c399ae

View File

@ -24,11 +24,7 @@ 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 NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
#define DISABLE_LEADER
#endif // USE_Link_Time_Optimization
#define DISABLE_LEADER