Z5_patch_202501241056
author@CHENG <2393524978@qq.com>
Wed, 5 Feb 2025 03:26:37 +0000 (11:26 +0800)
committer@CHENG <2393524978@qq.com>
Wed, 5 Feb 2025 03:26:37 +0000 (11:26 +0800)
2.sdk/sdk/product/craneg_modem/framework/hal/chip/charger/power_charger.c

index 396cfdd..e82dc9f 100644 (file)
@@ -549,6 +549,24 @@ PMIC_CHARGER_STATUS_T Charger_check_State(PMU_CHR_STATUS_T status)
 
 #define USE_SW_NTC  0//simware add , use adc to check ntc
 #if USE_SW_NTC
+#if 1 //10k
+static UINT32 bat_temp_mv_arry[131] = {
+    154,158,161,165,169,173,178,182,186,191,
+    196,200,205,210,216,221,226,232,238,244,
+    250,256,262,269,276,283,290,297,304,312,
+    320,328,336,345,353,362,371,380,390,400,
+    410,420,430,441,452,463,474,486,497,509,
+    522,534,547,560,573,587,600,614,629,643,
+    658,672,688,703,718,734,750,766,782,799,
+    815,832,849,866,883,900,917,935,952,970,
+    987,1005,1022,1040,1058,1075,1093,1110,1128,
+    1145,1162,1179,1196,1213,1230,1247,1263,1279,
+    1295,1311,1326,1342,1357,1372,1386,1400,1414,
+    1428,1441,1455,1467,1480,1492,1504,1516,1527,
+    1538,1549,1559,1569,1579,1588,1598,1606,1615,
+    1623,1631,1639,1646,1653,1660,
+};
+#else //47k
 static UINT32 bat_temp_mv_arry[131] = {
     106,109,112,115,119,122,126,130,134,138,//100 ~ 91
     142,146,150,154,159,164,169,174,179,185,//90 ~ 81
@@ -565,6 +583,7 @@ static UINT32 bat_temp_mv_arry[131] = {
     1642,1651,1659,1666,1674,1681,1688,1694,1700,1706,//-20 ~ -29
     1712,//-30
 };
+#endif
 extern INT16 GetPm803VrtpAdc(void);
 #endif /*USE_SW_NTC*/