power: cw2217b user_rsense modify to 10mhom

project use 10mhon rsense,but current rsense config is 1mhom,
that will make current value not correct.
log:
FG_CW2217: cw_update_data-518 : vol = 3880 current = 5238
above log show current=5238mA, but it should be 523.8mA
Correct rsense config can fix this issue.

Change-Id: Iebaa671d2db2690f7e91f4410bc57a809b10cd77
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2098076
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuyc20 2021-10-25 13:37:10 +08:00 • committed by Yuecai Liu
commit 91e11f23b3

View file

@ -58,7 +58,7 @@
#define CWFG_NAME "cw2217"
#define SIZE_OF_PROFILE 80
#define USER_RSENSE 1000 /* mhom rsense * 1000 for convenience calculation */
#define USER_RSENSE (10*1000) /* mhom rsense * 1000 for convenience calculation */
#define queue_delayed_work_time 8000
#define queue_start_work_time 50