diff options
Diffstat (limited to 'keyboards/crkbd/config.h')
-rw-r--r-- | keyboards/crkbd/config.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h index c910d8f24f..4357a218d4 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 <http://www.gnu.org/licenses/>. */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" +#include <serial_config.h> -#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 |