Merge pull request #6820 from jflyper/bfdev-f4disc-fix-esc-serial

STM32F4DISCOVERY: Fix esc serial pacer timer def
This commit is contained in:
Michael Keller 2018-09-22 17:47:24 +12:00 committed by GitHub
commit aff9250709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -82,7 +82,7 @@
#define SERIAL_PORT_COUNT 6 //VCP, USART1, USART3, USART4, USART6
#define USE_ESCSERIAL
#define ESCSERIAL_TIMER_TX_HARDWARE 0 // PWM 1
#define ESCSERIAL_TIMER_TX_PIN PB9
//SPI
#define USE_SPI
@ -108,7 +108,6 @@
#define USE_ADC
#define DEFAULT_VOLTAGE_METER_SOURCE VOLTAGE_METER_ADC
#define DEFAULT_CURRENT_METER_SOURCE CURRENT_METER_ADC
#define BOARD_HAS_VOLTAGE_DIVIDER
#define VBAT_ADC_PIN PC1
#define CURRENT_METER_ADC_PIN PC2