fixed Bug leading to Stackoverflow
This commit is contained in:
parent
48774a42f4
commit
cbcdc34e6c
@ -670,9 +670,7 @@ void Websocket_RefreshClientData_Static(uint32_t client_id, bool send_mapping)
|
||||
Debug_pushMessage("send MAPPING_STATIC WS-Client Data\n");
|
||||
}
|
||||
|
||||
char dataString[200]; // Maximal 200 Zeichen für den Data-String
|
||||
char flash_version[6];
|
||||
GetFlashVersion(flash_version, sizeof(flash_version));
|
||||
char dataString[200] = {0}; // Maximal 200 Zeichen für den Data-String
|
||||
|
||||
sprintf(dataString, "STATIC:%s;%d;%d;%s;%s;%s;%s;%s;%d.%02d;%s;%s;",
|
||||
globals.DeviceName,
|
||||
@ -685,7 +683,7 @@ void Websocket_RefreshClientData_Static(uint32_t client_id, bool send_mapping)
|
||||
ConfigData.wifi_client_password,
|
||||
constants.FW_Version_major,
|
||||
constants.FW_Version_minor,
|
||||
flash_version,
|
||||
globals.FlashVersion,
|
||||
constants.GitHash);
|
||||
|
||||
if (client_id > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user