Procházet zdrojové kódy

2023-02-24/Jerry Wang
[OCPP 1.6]
Action:
1. Fix configuration key 'RfidEndianType' and 'Enable15118' not saving to flash problem.

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

Jerry Wang před 2 roky
rodič
revize
92b4de43d3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      EVSE/Modularization/ocppfiles/MessageHandler.c

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

@@ -10389,7 +10389,7 @@ int handleChangeConfigurationRequest(char *uuid, char *payload)
 		SetOcppConnStatus(FALSE);
 	}
 
-	if(((strcmp(keystr,"FreeVend")==0) || (strcmp(keystr,"isEnableLocalPowerSharing")==0) || (strcmp(keystr,"PowerSharingServerIP")==0)) && (strcmp(comfirmstr,"Accepted")==0))
+	if(((strcmp(keystr,"FreeVend")==0) || (strcmp(keystr,"isEnableLocalPowerSharing")==0) || (strcmp(keystr,"PowerSharingServerIP")==0) || (strcmp(keystr,"RfidEndianType")==0) || (strcmp(keystr,"Enable15118")==0)) && (strcmp(comfirmstr,"Accepted")==0))
 	{
 		StoreUsrConfigData(&ShmSysConfigAndInfo->SysConfig);
 	}