Fix TX16S compilation
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user