解决ln编译问题 2479/1 2479/head 2480/target/1 2480/target/4 2481/target/1
authorluozheng <1732036298@qq.com>
Fri, 10 Oct 2025 09:57:00 +0000 (17:57 +0800)
committerluozheng <1732036298@qq.com>
Fri, 10 Oct 2025 09:57:00 +0000 (17:57 +0800)
code/sdk/zhihui/services/ble_service/bleservice/bleService.c
code/sdk/zhihui/utils/custom_utils.c

index 929be5c..20a02bd 100644 (file)
@@ -2162,6 +2162,10 @@ void svr_ble_bluetooth_init(void)
     #endif\r
     gattc_reg_id();\r
 \r
+    #ifdef SUPPORT_BLE_SERVICE\r
+    uapi_Ai_send_service_init();\r
+    #endif\r
+\r
     g_custom_ble_init_flag = true;\r
     return;\r
 }\r
index 19d60e9..8d9fdd2 100644 (file)
@@ -549,7 +549,6 @@ bool start_custom_ble_service(void)
 #endif
 #endif 
     bluetooth_enable_all();
-    uapi_Ai_send_service_init();
 
     //if(!uapi_dev_runtime_get_saveele_status())
     {