From 9b527b1810008f1056f1544e4772b64272ea7146 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Mon, 10 Aug 2015 23:00:45 +0200 Subject: [PATCH] First compilation fixes, thanks to Jenkins first comments --- radio/src/debug.cpp | 1 + radio/src/serial.cpp | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/radio/src/debug.cpp b/radio/src/debug.cpp index 112e20330..dfb7d34aa 100644 --- a/radio/src/debug.cpp +++ b/radio/src/debug.cpp @@ -35,6 +35,7 @@ */ #include "opentx.h" +#include #if defined(SIMU) traceCallbackFunc traceCallback = 0; diff --git a/radio/src/serial.cpp b/radio/src/serial.cpp index c4de11d17..e589c8185 100644 --- a/radio/src/serial.cpp +++ b/radio/src/serial.cpp @@ -36,11 +36,8 @@ #include "opentx.h" #include "serial.h" - -extern "C" { - #include - #include -} +#include +#include #define PRINTF_BUFFER_SIZE 256