Make FS hall sticks EXT3 EXT4 optional

As this breaks Companion model editing for now (see issue #758).
This commit is contained in:
Raphael Coeffic
2021-09-19 13:49:47 +02:00
committed by Risto
parent 4546f885ec
commit 68d9162cb4
7 changed files with 29 additions and 24 deletions
+5
View File
@@ -192,6 +192,11 @@ if(FLYSKY_HALL_STICKS)
add_definitions(-DFLYSKY_HALL_STICKS)
add_definitions(-DFLYSKY_HALL_STICKS_REVERSE)
set(FLYSKY_HALL_STICKS_DRIVER flyskyHallStick_driver.cpp)
option(FLYSKY_HALL_STICKS_EXT3_EXT4 "Additional EXT3 & EXT4 inputs for FlySky Hall Sticks" OFF)
if(FLYSKY_HALL_STICKS_EXT3_EXT4)
add_definitions(-DFLYSKY_HALL_STICKS_EXT3_EXT4)
endif()
endif()
if(IMU_LSM6DS33)