diff --git a/src/main/drivers/serial_escserial.c b/src/main/drivers/serial_escserial.c index 38d129e69..b3eb46d56 100644 --- a/src/main/drivers/serial_escserial.c +++ b/src/main/drivers/serial_escserial.c @@ -116,7 +116,7 @@ escSerial_t escSerialPorts[MAX_ESCSERIAL_PORTS]; PG_REGISTER_WITH_RESET_TEMPLATE(escSerialConfig_t, escSerialConfig, PG_ESCSERIAL_CONFIG, 0); #ifndef ESCSERIAL_TIMER_TX_PIN -define ESCSERIAL_TIMER_TX_PIN NONE +#define ESCSERIAL_TIMER_TX_PIN NONE #endif PG_RESET_TEMPLATE(escSerialConfig_t, escSerialConfig, diff --git a/src/main/target/BETAFLIGHTF4/target.h b/src/main/target/BETAFLIGHTF4/target.h index 53a127519..7c74bdd42 100755 --- a/src/main/target/BETAFLIGHTF4/target.h +++ b/src/main/target/BETAFLIGHTF4/target.h @@ -92,8 +92,7 @@ #define SERIAL_PORT_COUNT 5 //VCP, USART1, USART2, USART3, USART6 #define USE_ESCSERIAL -#define ESCSERIAL_TIMER_TX_HARDWARE 0 // PWM 1 - +#define ESCSERIAL_TIMER_TX_PIN B8 // (Hardware=0, PPM) #define USE_SPI