diff --git a/apps/chrg/applications/thread/chrg_north.c b/apps/chrg/applications/thread/chrg_north.c index 6e7178f..7f65fee 100644 --- a/apps/chrg/applications/thread/chrg_north.c +++ b/apps/chrg/applications/thread/chrg_north.c @@ -228,7 +228,7 @@ void chrg_sink_parse(rt_uint8_t *frame_data, eIDX_SOU_CH idx, // volt_low[idx]++; /* Treat low voltage as a fault only after voltage was once valid. */ if (volt_set_ok[idx] == 1) { - if (++volt_low[idx] >= 5) { + if (++volt_low[idx] >= 3) { volt_set_ok[idx] = 0; no_curr[idx] = 0; pSW->sink.work_mode = SINK_WORK_LOW; @@ -245,7 +245,7 @@ void chrg_sink_parse(rt_uint8_t *frame_data, eIDX_SOU_CH idx, pSW->sink.work_mode = SINK_WORK_RUNING; /* Voltage is normal but current is still zero: retry from WAIT. */ if (pSW->Now_current <= 200) { - if (++no_curr[idx] >= 5) { + if (++no_curr[idx] >= 3) { pSW->sink.work_mode = SINK_WORK_WAIT; no_curr[idx] = 0; }