|
@@ -3,7 +3,7 @@
|
|
|
* @Date : 2021-11-09 12:08:17
|
|
|
* @Version : V3.0
|
|
|
* @LastEditors : ChenJie
|
|
|
- * @LastEditTime : 2021-12-30 15:50:04
|
|
|
+ * @LastEditTime : 2021-12-31 11:55:18
|
|
|
* @Description : file content
|
|
|
* @FilePath : \PLAT\project\ec616_0h00\apps\qx_app\src\AppFunc.c
|
|
|
*/
|
|
@@ -365,12 +365,12 @@ void BattWorkDelayFunc(UINT8 battWorkCurrentState)
|
|
|
{
|
|
|
static UINT16 workDelayCounter = 0;
|
|
|
static UINT8 battWorkCurrentStateTemp = 0;
|
|
|
- if(battWorkCurrentStateTemp!=battWorkCurrentState)
|
|
|
+ if (battWorkCurrentStateTemp != battWorkCurrentState)
|
|
|
{
|
|
|
workDelayCounter = 0;
|
|
|
battWorkCurrentStateTemp = battWorkCurrentState;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (battWorkCurrentState == BATT_IDLE_SYM && BattWorkStateDelay == BATT_DISCHARGE_SYM) //从放电转静置 60s延时
|
|
|
{
|
|
|
workDelayCounter++;
|
|
@@ -413,7 +413,7 @@ void BattWorkDelayFunc(UINT8 battWorkCurrentState)
|
|
|
workDelayCounter = 0;
|
|
|
}
|
|
|
|
|
|
- //printf("cnt:%d,delay:%d,st:%d,I:%d\n",workDelayCounter,BattWorkStateDelay,battWorkCurrentState,battI);
|
|
|
+ // printf("cnt:%d,delay:%d,st:%d,I:%d\n",workDelayCounter,BattWorkStateDelay,battWorkCurrentState,battI);
|
|
|
return;
|
|
|
}
|
|
|
/**
|