Fix TX16S compilation
This commit is contained in:
@@ -84,7 +84,7 @@ if (PCB STREQUAL X10)
|
|||||||
set(USB_CHARGER YES)
|
set(USB_CHARGER YES)
|
||||||
set(DEFAULT_THEME "DARKBLUE")
|
set(DEFAULT_THEME "DARKBLUE")
|
||||||
set(SBUS_TRAINER ON)
|
set(SBUS_TRAINER ON)
|
||||||
set(AUX_SERIAL OFF) # todo ON
|
set(AUX_SERIAL ON)
|
||||||
if (NOT BLUETOOTH AND NOT INTERNAL_GPS)
|
if (NOT BLUETOOTH AND NOT INTERNAL_GPS)
|
||||||
set(AUX2_SERIAL OFF) # todo ON
|
set(AUX2_SERIAL OFF) # todo ON
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -699,13 +699,13 @@ void bluetoothWriteWakeup();
|
|||||||
uint8_t bluetoothIsWriting();
|
uint8_t bluetoothIsWriting();
|
||||||
void bluetoothDisable();
|
void bluetoothDisable();
|
||||||
|
|
||||||
//#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
//#include "fifo.h"
|
#include "fifo.h"
|
||||||
//#include "dmafifo.h"
|
#include "dmafifo.h"
|
||||||
//extern DMAFifo<512> telemetryFifo;
|
extern DMAFifo<512> telemetryFifo;
|
||||||
//typedef DMAFifo<32> AuxSerialRxFifo;
|
typedef DMAFifo<32> AuxSerialRxFifo;
|
||||||
//extern AuxSerialRxFifo auxSerialRxFifo;
|
extern AuxSerialRxFifo auxSerialRxFifo;
|
||||||
//extern volatile uint32_t externalModulePort;
|
extern volatile uint32_t externalModulePort;
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
#endif // _BOARD_H_
|
#endif // _BOARD_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user