feat: support for RadioMaster GX12 (#5703)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
raphaelcoeffic
philmoz
Peter Feerick
parent
0f86cd9a95
commit
36cdd93a1a
@@ -13,6 +13,12 @@ set(SRC ${SRC}
|
||||
hal/switch_driver.cpp
|
||||
)
|
||||
|
||||
if(FUNCTION_SWITCHES)
|
||||
set(SRC ${SRC}
|
||||
hal/rgbleds.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if (FLEXSW)
|
||||
# define the number of allowed flexible adc entries used as switch
|
||||
add_definitions(-DMAX_FLEX_SWITCHES=${FLEXSW})
|
||||
|
||||
Reference in New Issue
Block a user