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(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()
+8 -8
View File
@@ -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_