]> rtime.felk.cvut.cz Git - arc.git/commitdiff
fixed bug, must restore irq before returning
authornier <devnull@localhost>
Fri, 25 Nov 2011 16:20:38 +0000 (17:20 +0100)
committernier <devnull@localhost>
Fri, 25 Nov 2011 16:20:38 +0000 (17:20 +0100)
communication/Com/Com.c

index c0c057b1aa86bce60088de40273dd59bf01ad88c..94e6adb113625ae17a62fc8c13cc52679a69b285 100644 (file)
@@ -245,8 +245,8 @@ BufReq_ReturnType Com_CopyRxData(PduIdType PduId, const PduInfoType* PduInfoPtr,
        } else {\r
                r = BUFREQ_NOT_OK;\r
        }\r
-       return r;\r
        Irq_Restore(state);\r
+       return r;\r
 }\r
 \r
 static void Com_SetDynSignalLength(PduIdType ComRxPduId,PduLengthType TpSduLength) {\r