소스 검색

1、漏传文件

liyuezong 1 년 전
부모
커밋
35413e1602
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pro/src/paras.c

+ 2 - 2
pro/src/paras.c

@@ -232,11 +232,11 @@ static int proc_prod(dictionary *dic, int op, ProductInfo_t *prod)
             LOGE("___ check product.language %d is wrong\n", prod->language);
             LOGE("___ check product.language %d is wrong\n", prod->language);
             r = -1;
             r = -1;
         }
         }
-        if(prod->type>SmartPDU_Tree_AC_One_B) {
+        if(prod->type>SmartPDU_Tree_AC_Two) {
             LOGE("___ check product.type %d is wrong\n", prod->type);
             LOGE("___ check product.type %d is wrong\n", prod->type);
             r = -1;
             r = -1;
         }
         }
-        if(prod->pwr_type>SmartPDU_Tree_AC_One_B) {
+        if(prod->pwr_type>SmartPDU_Tree_AC_Two) {
             LOGE("___ check product.pwr_type %d is wrong\n", prod->pwr_type);
             LOGE("___ check product.pwr_type %d is wrong\n", prod->pwr_type);
             r = -1;
             r = -1;
         }
         }