Fix TX16S compilation

This commit is contained in:
3djc
2020-10-08 07:22:11 +02:00
parent 42a3198568
commit 9ff2d528d2
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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()
+8 -8
View File
@@ -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_