summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index daaaae79..5c3e651b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -88,7 +88,7 @@ elseif(ESP_PLATFORM)
# 强制链接器不删除符号
if(CONFIG_CHERRYUSB_HOST_CDC_ACM)
- target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_acm_class_info")
+ target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_acm_none_class_info")
target_link_libraries(${COMPONENT_LIB} INTERFACE "-u cdc_data_class_info")
endif()
if(CONFIG_CHERRYUSB_HOST_HID)