Merge branch '2.3' into 3djc/2.3-synced
This commit is contained in:
@@ -21,6 +21,7 @@ set(RTC_BACKUP_RAM YES)
|
||||
set(PPM_LIMITS_SYMETRICAL YES)
|
||||
set(USB_SERIAL ON CACHE BOOL "Enable USB serial (CDC)")
|
||||
set(ROTARY_ENCODER YES)
|
||||
set(EXTERNAL_MODULE YES)
|
||||
|
||||
# for size report script
|
||||
set(CPU_TYPE_FULL STM32F429xI)
|
||||
@@ -173,6 +174,10 @@ if(INTERNAL_MODULE_MULTI)
|
||||
add_definitions(-DINTERNAL_MODULE_MULTI)
|
||||
endif()
|
||||
|
||||
if(EXTERNAL_MODULE)
|
||||
add_definitions(-DHARDWARE_EXTERNAL_MODULE)
|
||||
endif()
|
||||
|
||||
include_directories(${RADIO_SRC_DIRECTORY}/fonts/480x272 gui/${GUI_DIR} gui/${GUI_DIR}/layouts)
|
||||
|
||||
file(GLOB THEMES_SRC RELATIVE ${RADIO_SRC_DIRECTORY}/gui/480x272 ${RADIO_SRC_DIRECTORY}/gui/480x272/themes/*.cpp)
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
|
||||
#include "opentx.h"
|
||||
|
||||
#if defined(SBUS_TRAINER)
|
||||
Fifo<uint8_t, 32> trainerSbusFifo;
|
||||
#endif
|
||||
|
||||
void trainerSendNextFrame();
|
||||
|
||||
void init_trainer_ppm()
|
||||
@@ -174,4 +170,4 @@ int sbusGetByte(uint8_t * byte)
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user