]> rtime.felk.cvut.cz Git - arc.git/blobdiff - communication/Com/Com_Com.c
closes #1477
[arc.git] / communication / Com / Com_Com.c
index cd5f862e4b1dc6c654ca3494396d66c0137f3deb..696ade238b87cfc5d02d7e7b073a3055dadf14bc 100644 (file)
@@ -285,6 +285,7 @@ void Com_TpRxIndication(PduIdType PduId, NotifResultType Result) {
 \r
        // If Ipdu is stopped\r
        if (!Arc_IPdu->Com_Arc_IpduStarted) {\r
+               UnlockTpBuffer(getPduId(IPdu));\r
                Irq_Restore(state);\r
                return;\r
        }\r