From c81a60d4e6cbb537a8cdd848431bb76af11d5088 Mon Sep 17 00:00:00 2001 From: jflyper Date: Sat, 22 Sep 2018 11:31:50 +0900 Subject: [PATCH] Fix esc serial pacer timer def --- src/main/target/STM32F4DISCOVERY/target.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/target/STM32F4DISCOVERY/target.h b/src/main/target/STM32F4DISCOVERY/target.h index f2072b24b..b4ff75072 100644 --- a/src/main/target/STM32F4DISCOVERY/target.h +++ b/src/main/target/STM32F4DISCOVERY/target.h @@ -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