fix(v14): incorrect switch definition and add v12/v14 battery voltage sensing (#6155)
Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
co-authored by
Richard Li
parent
1890d09ba0
commit
f6631f5574
@@ -406,6 +406,7 @@ elseif(PCB STREQUAL X7)
|
||||
add_definitions(-DSTM32_SUPPORT_32BIT_TIMERS)
|
||||
set(PXX2 ON)
|
||||
set(ENABLE_SERIAL_PASSTHROUGH ON CACHE BOOL "Enable serial passthrough")
|
||||
set(CSD203_SENSOR ON)
|
||||
if (NOT BLUETOOTH)
|
||||
set(AUX_SERIAL ON)
|
||||
endif()
|
||||
@@ -421,6 +422,7 @@ elseif(PCB STREQUAL X7)
|
||||
add_definitions(-DSTM32_SUPPORT_32BIT_TIMERS)
|
||||
set(PXX2 ON)
|
||||
set(ENABLE_SERIAL_PASSTHROUGH ON CACHE BOOL "Enable serial passthrough")
|
||||
set(CSD203_SENSOR ON)
|
||||
set(FLYSKY_GIMBAL ON)
|
||||
if (NOT BLUETOOTH)
|
||||
set(AUX_SERIAL ON)
|
||||
|
||||
Reference in New Issue
Block a user