From 0e0dbad87127cf946fce0efa1c0fd62178a7e719 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Thu, 25 Oct 2018 21:06:37 +0200 Subject: [PATCH] #ifdef __cplusplus added to allow including to .c file --- Firmware/Marlin.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Firmware/Marlin.h b/Firmware/Marlin.h index 4546cd64..9fd98ac1 100644 --- a/Firmware/Marlin.h +++ b/Firmware/Marlin.h @@ -64,9 +64,13 @@ #include "lcd.h" +#ifdef __cplusplus extern "C" { +#endif extern FILE _uartout; +#ifdef __cplusplus } +#endif #define uartout (&_uartout)