|
@@ -278,7 +278,8 @@ static void TcpDataInfoAssembleSend()
|
|
|
clrbit(PadInterrupt, 4);
|
|
|
}
|
|
|
}
|
|
|
- BattSendFreq = 1;
|
|
|
+ BattSendFreq = 10;
|
|
|
+ UINT8 DebugFeq = 10;
|
|
|
if (send_counter % BattSendFreq == 0 && send_counter != 0)
|
|
|
{
|
|
|
UINT16 ErrorTemp = 0x00;
|
|
@@ -540,7 +541,6 @@ static void TcpDataInfoAssembleSend()
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- UINT8 DebugFeq = 1;
|
|
|
if (send_counter % DebugFeq == 0)
|
|
|
{
|
|
|
DebugMsgtoTcpType DebugMsgInfo;
|
|
@@ -548,8 +548,8 @@ static void TcpDataInfoAssembleSend()
|
|
|
UINT8 rbuf[1000];
|
|
|
if (send_counter % (60 / DebugFeq) == 0)
|
|
|
{
|
|
|
- sprintf((char *)rbuf, "A-%x,%d,%d,%x,%x,%d,%d",
|
|
|
- battProtectState, AppDataInfo.RelayControl, chargerConnectState, PowerVoltage, BMSupdatestatus,
|
|
|
+ sprintf((char *)rbuf, "A-%x,%d,%d,%x,%x,%x,,%d,%d",
|
|
|
+ battProtectState, AppDataInfo.RelayControl, chargerConnectState, PowerVoltage, BMSupdatestatus, PadInterrupt,
|
|
|
AppDataInfo.ExpiryTimeArray[1], AppDataInfo.ExpiryTimeArray[2]);
|
|
|
}
|
|
|
else if (send_counter % DebugFeq == 0)
|