X-Git-Url: https://rtime.felk.cvut.cz/gitweb/arc.git/blobdiff_plain/c2149e2a2b877007e2b34558fb580346dd0ad9a4..7b05976b0aa1ec02d6a2cfd20487d16e8a708be5:/include/Gpt.h diff --git a/include/Gpt.h b/include/Gpt.h index 9879842d..ab33f867 100644 --- a/include/Gpt.h +++ b/include/Gpt.h @@ -24,7 +24,12 @@ #define GPT_H_ #include "Std_Types.h" -//#include "EcuM.h" mahi: What for ??? + +/* "forward" declare types due to circular dependency chain */ +/** Channel id type */ +typedef uint8_t Gpt_ChannelType; + +#include "EcuM.h" /** @name Error Codes */ //@{ @@ -54,9 +59,6 @@ #define GPT_CBK_CHECKWAKEUP_SERVICE_ID 0x0c //@} -/** Channel id type */ -typedef uint8_t Gpt_ChannelType; - /** Channel time value type */ typedef uint32_t Gpt_ValueType;