Skip to content

Commit

Permalink
Correct RX_Serial port and spektrum_sat_bind
Browse files Browse the repository at this point in the history
  • Loading branch information
cmenard authored and borisbstyle committed Feb 2, 2016
1 parent 3433dc7 commit b1476c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ void validateAndFixConfig(void)
}
#endif

#if defined(COLIBRI_RACE) || defined(LUX_RACE)
#if defined(COLIBRI_RACE)
masterConfig.serialConfig.portConfigs[0].functionMask = FUNCTION_MSP;
if(featureConfigured(FEATURE_RX_PARALLEL_PWM) || featureConfigured(FEATURE_RX_MSP)) {
featureClear(FEATURE_RX_PARALLEL_PWM);
Expand Down
8 changes: 4 additions & 4 deletions src/main/target/LUX_RACE/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@
#define USE_CLI

#define SPEKTRUM_BIND
// USART2, PA15
#define BIND_PORT GPIOA
#define BIND_PIN Pin_15
// USART1
#define BIND_PORT GPIOC
#define BIND_PIN Pin_5

#define USE_SERIAL_1WIRE
// Untested
// Untested and will probably not work with RX_Serial on USART1
#define S1W_TX_GPIO GPIOC
#define S1W_TX_PIN GPIO_Pin_4
#define S1W_RX_GPIO GPIOC
Expand Down

0 comments on commit b1476c0

Please sign in to comment.