* Flysky Hall Stick MOD using UART4 by disabling stick A/D. * Fixed build error. * Added Flysky hall stick mod in test targets. * Changed ADC disable for Flysky hall sticks method.
This commit is contained in:
@@ -118,12 +118,21 @@ case $FLAVOR in
|
||||
T16)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T16 -DINTERNAL_MODULE_MULTI=ON"
|
||||
;;
|
||||
T16_FS)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T16 -DFLYSKY_HALL_STICKS=ON"
|
||||
;;
|
||||
T18)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T18"
|
||||
;;
|
||||
T18_FS)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=T18 -DFLYSKY_HALL_STICKS=ON"
|
||||
;;
|
||||
TX16S)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=TX16S"
|
||||
;;
|
||||
TX16S_FS)
|
||||
BUILD_OPTIONS+="-DPCB=X10 -DPCBREV=TX16S -DFLYSKY_HALL_STICKS=ON"
|
||||
;;
|
||||
esac
|
||||
|
||||
cmake ${BUILD_OPTIONS} "${SRCDIR}"
|
||||
|
||||
Reference in New Issue
Block a user