diff --git a/src/mms/iso_cotp/cotp.c b/src/mms/iso_cotp/cotp.c index efd852e5..296f8d29 100644 --- a/src/mms/iso_cotp/cotp.c +++ b/src/mms/iso_cotp/cotp.c @@ -174,7 +174,6 @@ writeToSocket(CotpConnection* self, uint8_t* buf, int size) #endif } - static bool sendBuffer(CotpConnection* self) { @@ -277,7 +276,6 @@ CotpConnection_sendDataMessage(CotpConnection* self, BufferChain payload) goto exit_function; } - fragments--; }