summaryrefslogtreecommitdiffstats
path: root/oled
diff options
context:
space:
mode:
Diffstat (limited to 'oled')
-rw-r--r--oled/ss_oled.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/oled/ss_oled.h b/oled/ss_oled.h
index f7e303c..fe6f399 100644
--- a/oled/ss_oled.h
+++ b/oled/ss_oled.h
@@ -1,5 +1,8 @@
#ifndef __SS_OLED_H__
#define __SS_OLED_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "BitBang_I2C.h"
@@ -206,6 +209,7 @@ void oledRectangle(SSOLED *pOLED, int x1, int y1, int x2, int y2, uint8_t ucColo
#if defined(_LINUX_) && defined(__cplusplus)
}
#endif // _LINUX_
-
+#ifdef __cplusplus
+}
+#endif
#endif // __SS_OLED_H__
-