浏览代码

Fix CRC for AVR and enable again. (#13253)

Dasky 4 年之前
父节点
当前提交
cd30861394
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      common_features.mk

+ 2 - 1
common_features.mk

@@ -536,6 +536,7 @@ endif
 ifeq ($(strip $(SPLIT_KEYBOARD)), yes)
     POST_CONFIG_H += $(QUANTUM_DIR)/split_common/post_config.h
     OPT_DEFS += -DSPLIT_KEYBOARD
+    CRC_ENABLE := yes
 
     # Include files used by all split keyboards
     QUANTUM_SRC += $(QUANTUM_DIR)/split_common/split_util.c
@@ -569,7 +570,7 @@ endif
 
 ifeq ($(strip $(CRC_ENABLE)), yes)
     OPT_DEFS += -DCRC_ENABLE
-    QUANTUM_LIB_SRC += crc.c
+    SRC += crc.c
 endif
 
 HAPTIC_ENABLE ?= no