]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Removed include of Ramlog.h to fix build problem in EcuMTests. In Os_IsrGet( ISRType...
authoreija <devnull@localhost>
Wed, 10 Aug 2011 08:40:25 +0000 (10:40 +0200)
committereija <devnull@localhost>
Wed, 10 Aug 2011 08:40:25 +0000 (10:40 +0200)
include/isr.h
system/EcuM/EcuM.c
system/kernel/include/task_i.h

index 3371a61abfc88d263dd7b109f91f18d388ca715b..c7ed1d5a04792e5b0078efce13937d390f73a426 100644 (file)
@@ -222,9 +222,11 @@ void Os_Isr_cm3( int16_t vector );
 void TailChaining(void *stack);\r
 #endif\r
 \r
+#if OS_ISR_CNT != 0\r
 static inline const OsIsrVarType *Os_IsrGet( ISRType id ) {\r
        return &Os_IsrVarList[id];\r
 }\r
+#endif\r
 \r
 static inline ApplicationType Os_IsrGetApplicationOwner( ISRType id ) {\r
        ApplicationType rv = INVALID_OSAPPLICATION;\r
index 10ad438eca02808f131bc207a49588bacd014880..16bbb5645abfd678123734a868bf05665a96667f 100644 (file)
@@ -19,7 +19,6 @@
 #include "Modules.h"\r
 #include <string.h>\r
 #include <Os.h>\r
-#include "isr.h"\r
 #include "EcuM_Internals.h"\r
 #include "EcuM_Cbk.h"\r
 #include "Mcu.h"\r
index 5c5df2262497c5d5c825cc7baa655d4ca8fb8299..f43ad037249804afe9d498f3cf02fb32cb3ec6aa 100644 (file)
@@ -25,7 +25,6 @@
 #include "Os.h"\r
 #include "resource_i.h"\r
 #include "internal.h"\r
-#include "Ramlog.h"\r
 \r
 /* ----------------------------[define]--------------------------------------*/\r
 /* ----------------------------[macro]---------------------------------------*/\r