1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Fix esc serial pacer timer def

This commit is contained in:
jflyper 2018-09-22 11:33:37 +09:00
parent e68df0415e
commit 0cd14ca85b

View file

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