X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=keyboards%2Fcrkbd%2Fconfig.h;h=4357a218d4ac6f04719cbf8d8eb3184c5f1d78ee;hb=3538955778c253e68779605cc67c27e15d195729;hp=c910d8f24f0ceee711b9e7319639e1fd23209680;hpb=710937e4ef1e14d82261fc439aa6fcfcdbd64bf5;p=qmk_firmware.git diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h index c910d8f24..4357a218d 100644 --- a/keyboards/crkbd/config.h +++ b/keyboards/crkbd/config.h @@ -16,9 +16,19 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" +#include -#endif +#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