Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mz-automation/lib60870
Browse files Browse the repository at this point in the history
  • Loading branch information
mzillgith committed Feb 21, 2024
2 parents 166fba0 + 1255444 commit e5de23a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib60870-C/src/iec60870/cs104/cs104_connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,9 @@ handleConnection(void* parameter)
if (self->rawMessageHandler)
self->rawMessageHandler(self->rawMessageHandlerParameter, self->recvBuffer, bytesRec, false);

bool startDtRecevied = false;
bool stopDtReceived = false;

#if (CONFIG_USE_SEMAPHORES == 1)
Semaphore_wait(self->conStateLock);
#endif /* (CONFIG_USE_SEMAPHORES == 1) */
Expand Down

0 comments on commit e5de23a

Please sign in to comment.