Merge pull request #3233 from ukmook/sparky_2

Fix sparky2 target
This commit is contained in:
Martin Budden 2017-06-08 10:29:51 +01:00 committed by GitHub
commit 51f607fdfc
1 changed files with 3 additions and 6 deletions

9
src/main/target/SPARKY2/target.h Normal file → Executable file
View File

@ -89,10 +89,7 @@
#define UART6_RX_PIN PC7
#define UART6_TX_PIN PC6 //inverter
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#define SERIAL_PORT_COUNT 6
#define SERIAL_PORT_COUNT 4
#define USE_ESCSERIAL
#define ESCSERIAL_TIMER_TX_HARDWARE 0 // PWM 1
@ -116,14 +113,14 @@
#define I2C_DEVICE (I2CDEV_1)
#define USE_ADC
#define VBAT_ADC_PIN PC3
#define VBAT_ADC_PIN PC1
#define CURRENT_METER_ADC_PIN PC2
#undef LED_STRIP
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#define SERIALRX_PROVIDER SERIALRX_SBUS
#define SERIALRX_UART SERIAL_PORT_USART3
#define SERIALRX_UART SERIAL_PORT_USART6
#define USE_SERIAL_4WAY_BLHELI_INTERFACE