|
|
@@ -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){
|