Fixed flysky hall stick mod problem in T16.
This commit is contained in:
@@ -183,6 +183,7 @@ endif()
|
||||
|
||||
if(FLYSKY_HALL_STICKS)
|
||||
add_definitions(-DFLYSKY_HALL_STICKS)
|
||||
add_definitions(-DFLYSKY_HALL_STICKS_REVERSE)
|
||||
set(AUX_SERIAL OFF)
|
||||
set(FLYSKY_HALL_STICKS_DRIVER flyskyHallStick_driver.cpp)
|
||||
endif()
|
||||
|
||||
@@ -758,10 +758,6 @@
|
||||
|
||||
// Flysky Hall Stick
|
||||
#if defined(FLYSKY_HALL_STICKS)
|
||||
#if defined (RADIO_TX16S)
|
||||
#define FLYSKY_HALL_STICKS_REVERSE
|
||||
#endif
|
||||
|
||||
#define FLYSKY_HALL_SERIAL_USART UART4
|
||||
#define FLYSKY_HALL_SERIAL_GPIO GPIOA
|
||||
#define FLYSKY_HALL_DMA_Channel DMA_Channel_4
|
||||
@@ -784,7 +780,6 @@
|
||||
|
||||
#define FLYSKY_HALL_RX_DMA_Stream_IRQHandler DMA1_Stream2_IRQHandler
|
||||
#define FLYSKY_HALL_TX_DMA_Stream_IRQHandler DMA1_Stream4_IRQHandler
|
||||
|
||||
#endif
|
||||
|
||||
// Internal Module
|
||||
|
||||
Reference in New Issue
Block a user