From 277895e24feb6e08674f703cd2261845f2166d55 Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 27 Mar 2017 22:46:09 -0400 Subject: [PATCH] manual picking from ChibiOS migration branch to make my evening a little less depressing --- firmware/console/console_io.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/firmware/console/console_io.h b/firmware/console/console_io.h index 87796c1df9..d0da3e9efa 100644 --- a/firmware/console/console_io.h +++ b/firmware/console/console_io.h @@ -8,8 +8,17 @@ #ifndef CONSOLE_IO_H_ #define CONSOLE_IO_H_ +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + #include #include + +#ifdef __cplusplus +} +#endif /* __cplusplus */ typedef void (*CommandHandler)(char *);