From 9ff2d528d296e322c51c3459c1823bb0c32f7b24 Mon Sep 17 00:00:00 2001 From: 3djc Date: Thu, 8 Oct 2020 07:22:11 +0200 Subject: [PATCH] Fix TX16S compilation --- radio/src/targets/horus/CMakeLists.txt | 2 +- radio/src/targets/horus/board.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/radio/src/targets/horus/CMakeLists.txt b/radio/src/targets/horus/CMakeLists.txt index 39c63dee5..520eeded5 100644 --- a/radio/src/targets/horus/CMakeLists.txt +++ b/radio/src/targets/horus/CMakeLists.txt @@ -84,7 +84,7 @@ if (PCB STREQUAL X10) set(USB_CHARGER YES) set(DEFAULT_THEME "DARKBLUE") set(SBUS_TRAINER ON) - set(AUX_SERIAL OFF) # todo ON + set(AUX_SERIAL ON) if (NOT BLUETOOTH AND NOT INTERNAL_GPS) set(AUX2_SERIAL OFF) # todo ON endif() diff --git a/radio/src/targets/horus/board.h b/radio/src/targets/horus/board.h index 3d8a9115c..eb518f58c 100644 --- a/radio/src/targets/horus/board.h +++ b/radio/src/targets/horus/board.h @@ -699,13 +699,13 @@ void bluetoothWriteWakeup(); uint8_t bluetoothIsWriting(); void bluetoothDisable(); -//#if defined(__cplusplus) -//#include "fifo.h" -//#include "dmafifo.h" -//extern DMAFifo<512> telemetryFifo; -//typedef DMAFifo<32> AuxSerialRxFifo; -//extern AuxSerialRxFifo auxSerialRxFifo; -//extern volatile uint32_t externalModulePort; -//#endif +#if defined(__cplusplus) +#include "fifo.h" +#include "dmafifo.h" +extern DMAFifo<512> telemetryFifo; +typedef DMAFifo<32> AuxSerialRxFifo; +extern AuxSerialRxFifo auxSerialRxFifo; +extern volatile uint32_t externalModulePort; +#endif #endif // _BOARD_H_