修复对话死机bug 2762/1 2762/head 2763/target/1
authorxue <2144439972@qq.com>
Tue, 18 Nov 2025 08:47:00 +0000 (16:47 +0800)
committerxue <2144439972@qq.com>
Tue, 18 Nov 2025 08:47:00 +0000 (16:47 +0800)
code/sdk/zhihui/dmp/dmp_dev_authentication.c

index e0043ac..33c5426 100644 (file)
@@ -511,7 +511,7 @@ bool dmp_aut_login(void)//登录
     if (strlen(data_pass) == 0) {
         (void)cm_get_dmp_data_pass(data_pass, sizeof(data_pass));
     }
-    if(strlen(data_pass) == 0)
+    if(strlen(data_pass) <= 10)
     {
         if(dmp_aut_active())//设备激活
         {