]> rtime.felk.cvut.cz Git - arc.git/blobdiff - include/Gpt.h
Type changes...
[arc.git] / include / Gpt.h
index 9879842d593676648b117b854bde1dd497d498bf..ab33f8674b418f9254bd472519ab8d27a711a02c 100644 (file)
 #define GPT_H_\r
 \r
 #include "Std_Types.h"\r
-//#include "EcuM.h"  mahi: What for ???\r
+\r
+/* "forward" declare types due to circular dependency chain */\r
+/** Channel id type */\r
+typedef uint8_t Gpt_ChannelType;\r
+\r
+#include "EcuM.h"\r
 \r
 /** @name Error Codes */\r
 //@{\r
@@ -54,9 +59,6 @@
 #define GPT_CBK_CHECKWAKEUP_SERVICE_ID      0x0c\r
 //@}\r
 \r
-/** Channel id type */\r
-typedef uint8_t Gpt_ChannelType;\r
-\r
 /** Channel time value type */\r
 typedef uint32_t Gpt_ValueType;\r
 \r