解决ew充末电流异常的bug,解决ew快速配置2比对数据错误的bug

This commit is contained in:
ranchuan
2023-12-16 11:35:26 +08:00
parent e4fde0a436
commit 8f28200ffe
3 changed files with 4 additions and 2 deletions

View File

@@ -539,7 +539,7 @@ void EW_Test_ChgEnergy(void)
while(us_timeout > 0)
{
us_array[3] = ADC_GetBaseStableCur();
Bubble_Sort_u16(us_array,3);
Bubble_Sort_u16(us_array,4);
us_end_cur = us_array[0];