diff options
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h')
-rw-r--r-- | runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h b/runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h index 0d212c593..4f2c25bb9 100644 --- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h +++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/platform/etTimer.h @@ -20,6 +20,9 @@ typedef struct etTargetTime { unsigned long sec;
} etTargetTime_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
void etTimer_init(void);
uint32 getNSecFromTarget(void);
@@ -37,4 +40,7 @@ uint32 getTimeBaseUS(void); uint32 getTimeBaseMS(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* __ETTIMER_H__ */
|