]> rtime.felk.cvut.cz Git - arc.git/blobdiff - include/Os.h
Merge with c40862b2536786becf4172ec2b16eab166952161
[arc.git] / include / Os.h
index 55dd70b8eb1de5f32a6bc4dbcd10a75409d7c616..744f4b0bb59724fcb5af55d41163cdd523c38633 100644 (file)
@@ -169,7 +169,7 @@ static inline void DisableAllInterrupts( void ) {
        Irq_Disable();\r
        Os_IntDisableAllCnt++;\r
        /* No nesting allowed */\r
-       assert(Os_IntDisableAllCnt>1);\r
+       assert(Os_IntDisableAllCnt==1);\r
 }\r
 \r
 static inline void EnableAllInterrupts( void ) {\r