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

Correct RX_Serial port and spektrum_sat_bind

This commit is contained in:
cmenard 2016-01-26 19:06:22 -05:00 committed by borisbstyle
parent 3433dc74b6
commit b1476c05f8
2 changed files with 5 additions and 5 deletions

View file

@ -888,7 +888,7 @@ void validateAndFixConfig(void)
} }
#endif #endif
#if defined(COLIBRI_RACE) || defined(LUX_RACE) #if defined(COLIBRI_RACE)
masterConfig.serialConfig.portConfigs[0].functionMask = FUNCTION_MSP; masterConfig.serialConfig.portConfigs[0].functionMask = FUNCTION_MSP;
if(featureConfigured(FEATURE_RX_PARALLEL_PWM) || featureConfigured(FEATURE_RX_MSP)) { if(featureConfigured(FEATURE_RX_PARALLEL_PWM) || featureConfigured(FEATURE_RX_MSP)) {
featureClear(FEATURE_RX_PARALLEL_PWM); featureClear(FEATURE_RX_PARALLEL_PWM);

View file

@ -175,12 +175,12 @@
#define USE_CLI #define USE_CLI
#define SPEKTRUM_BIND #define SPEKTRUM_BIND
// USART2, PA15 // USART1
#define BIND_PORT GPIOA #define BIND_PORT GPIOC
#define BIND_PIN Pin_15 #define BIND_PIN Pin_5
#define USE_SERIAL_1WIRE #define USE_SERIAL_1WIRE
// Untested // Untested and will probably not work with RX_Serial on USART1
#define S1W_TX_GPIO GPIOC #define S1W_TX_GPIO GPIOC
#define S1W_TX_PIN GPIO_Pin_4 #define S1W_TX_PIN GPIO_Pin_4
#define S1W_RX_GPIO GPIOC #define S1W_RX_GPIO GPIOC