Trainer UI (#7423)

Trainer UI
This commit is contained in:
3djc
2020-03-06 15:47:34 +01:00
committed by GitHub
parent 766211a6f3
commit 2fb3d977a9
29 changed files with 175 additions and 66 deletions
+8
View File
@@ -281,6 +281,10 @@ elseif(PCB STREQUAL XLITES)
set(INTERNAL_MODULE_SERIAL YES)
endif()
if(NOT PCB STREQUAL PCBXLITE)
add_definitions(-DHARDWARE_TRAINER_JACK)
endif()
if(GYRO)
add_definitions(-DGYRO)
set(TARGET_SRC
@@ -326,6 +330,10 @@ if(BLUETOOTH)
${SRC}
bluetooth.cpp
)
if(NOT PCB STREQUAL X9E)
# Bluetooth on X9E is compatible with almost nothing
add_definitions(-DHARDWARE_TRAINER_BLUETOOTH)
endif()
endif()
if(AUTOUPDATE)