From ced1214fc8b3556869a3d479a817a942ee084757 Mon Sep 17 00:00:00 2001 From: Sylaina Date: Fri, 28 Sep 2018 07:36:03 +0200 Subject: [PATCH] Update lcd.h --- lcd.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lcd.h b/lcd.h index 3dd0fe5..157e74e 100644 --- a/lcd.h +++ b/lcd.h @@ -44,6 +44,10 @@ #ifndef LCD_H #define LCD_H +#ifdef __cplusplus +extern "C" { +#endif + #if (__GNUC__ * 100 + __GNUC_MINOR__) < 303 #error "This library requires AVR-GCC 3.3 or later, update to newer AVR-GCC compiler !" #endif @@ -115,4 +119,8 @@ void lcd_fillCircle(uint8_t center_x, uint8_t center_y, uint8_t radius, uint8_t void lcd_drawBitmap(uint8_t x, uint8_t y, const uint8_t picture[], uint8_t width, uint8_t height, uint8_t color); void lcd_display(void); // copy buffer to display RAM #endif + +#ifdef __cplusplus +} +#endif #endif /* LCD_H */