diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-26 16:07:21 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-02-26 16:07:21 +0200 |
| commit | a2e2cea4eed379224e266a8b42f8842cf3564e17 (patch) | |
| tree | d0be70ff70f73eb79af50f6d78e399a5c06c08a5 /Software/Embedded_SW/Embedded/Communication/Connection.c | |
| parent | 23d2e1215131eb7b679c3b81ab1e8292444e98ce (diff) | |
| download | Tango-a2e2cea4eed379224e266a8b42f8842cf3564e17.tar.gz Tango-a2e2cea4eed379224e266a8b42f8842cf3564e17.zip | |
thread break failure handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/Connection.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/Connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Connection.c b/Software/Embedded_SW/Embedded/Communication/Connection.c index b1ee3bda3..551ffeeab 100644 --- a/Software/Embedded_SW/Embedded/Communication/Connection.c +++ b/Software/Embedded_SW/Embedded/Communication/Connection.c @@ -97,7 +97,7 @@ void DisconnectionRequest(MessageContainer* requestContainer) { MessageContainer responseContainer; - DisconnectRequest* request = disconnect_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data); + //DisconnectRequest* request = disconnect_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data); DisconnectResponse response = DISCONNECT_RESPONSE__INIT; responseContainer = createContainer(MESSAGE_TYPE__DisconnectResponse, requestContainer->token, true, &response, &disconnect_response__pack, &disconnect_response__get_packed_size); @@ -111,7 +111,7 @@ void DisconnectionRequest(MessageContainer* requestContainer) size_t container_size = message_container__pack(&responseContainer, container_buffer); my_free(responseContainer.data.data); SendChars((char*)container_buffer, container_size); - disconnect_request__free_unpacked(request,NULL); + //disconnect_request__free_unpacked(request,NULL); //CommunicationMailboxFlush(); //USBCDCD_Reinit(); @@ -123,7 +123,7 @@ void KeepAliveRequestFunc(MessageContainer* requestContainer) { MessageContainer responseContainer; - KeepAliveRequest* request = keep_alive_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data); + //KeepAliveRequest* request = keep_alive_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data); KeepAliveResponse response = KEEP_ALIVE_RESPONSE__INIT; KeepAliveOneSecondCounter = 0; @@ -134,7 +134,7 @@ void KeepAliveRequestFunc(MessageContainer* requestContainer) size_t container_size = message_container__pack(&responseContainer, container_buffer); my_free(responseContainer.data.data); SendChars((char*)container_buffer, container_size); - keep_alive_request__free_unpacked(request,NULL); + //keep_alive_request__free_unpacked(request,NULL); } void KeepAliveOneSecondCall(void) { |
