Просмотр исходного кода

电流大于300mA,充放电一起打开

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui 5 лет назад
Родитель
Сommit
118660b19f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Application/app/sox/state.c

+ 1 - 1
Application/app/sox/state.c

@@ -398,7 +398,7 @@ static void check_charging(){
    we must judage the current: if current is large than 10A(-10A), 
    we must open the closed mos to avoid the closed mos to be destroyed
 */
-#define MIN_CURRENT_FOR_BOTH_MOS_OPEN (5 * 1000)
+#define MIN_CURRENT_FOR_BOTH_MOS_OPEN (300)
 static int _min_current_for_both_mos_count = 0;
 static void _check_mos_stat(void){
 	if (abs(measure_value()->load_current) >= MIN_CURRENT_FOR_BOTH_MOS_OPEN){