Эх сурвалжийг харах

2022-03-16/Jerry Wang
Action:
1. Cancel the last update of modifying clear ReportReaderStatusReq flag timing.

File:
1. EVSE/Modularization/ocppfiles/MessageHandler.c
--> Action 1

Jerry Wang 3 жил өмнө
parent
commit
d5ceed99ca

+ 1 - 4
EVSE/Modularization/ocppfiles/MessageHandler.c

@@ -4975,9 +4975,6 @@ void CheckSystemValue(void)
 		{
 			sendDataTransferRequest(gun_index);
 			ShmOCPP16Data->CsMsg.bits[gun_index].DataTransferReq = 0;
-
-			if((ShmOCPP16Data->TcciCustomData.ReaderStatus[gun_index].ReportReaderStatusReq) && (strstr((char *)ShmOCPP16Data->DataTransfer[gun_index].MessageId, "ID_ReaderStatus") != NULL))
-				ShmOCPP16Data->TcciCustomData.ReaderStatus[gun_index].ReportReaderStatusReq = 0;
 		}
 
 		//==========================================
@@ -5335,7 +5332,7 @@ void CheckSystemValue(void)
 		if(ShmOCPP16Data->TcciCustomData.ReaderStatus[gun_index].ReportReaderStatusReq == 1)
 		{
 			reportReaderStatus(gun_index);
-			//ShmOCPP16Data->TcciCustomData.ReaderStatus[gun_index].ReportReaderStatusReq = 0;
+			ShmOCPP16Data->TcciCustomData.ReaderStatus[gun_index].ReportReaderStatusReq = 0;
 		}
 
 		//==============================================