aboutsummaryrefslogtreecommitdiffstats
path: root/src/hmi-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hmi-debug.h')
-rw-r--r--src/hmi-debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hmi-debug.h b/src/hmi-debug.h
index 2a744ba..3c71ff5 100644
--- a/src/hmi-debug.h
+++ b/src/hmi-debug.h
@@ -17,6 +17,10 @@
#ifndef __HMI_DEBUG_H__
#define __HMI_DEBUG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <time.h>
#include <stdio.h>
#include <stdarg.h>
@@ -67,4 +71,7 @@ static void _HMI_LOG(enum LOG_LEVEL level, const char* file, const char* func, c
free(message);
}
+#ifdef __cplusplus
+}
+#endif
#endif //__HMI_DEBUG_H__ \ No newline at end of file