Enable Spektrum bind for CJMCU, CC3D, NAZE32PRO targets
This commit is contained in:
parent
1766857da6
commit
97523e832c
|
@ -179,7 +179,6 @@ void spektrumBind(rxConfig_t *rxConfig)
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// USART2, PA3
|
|
||||||
spekBindPort = BIND_PORT;
|
spekBindPort = BIND_PORT;
|
||||||
spekBindPin = BIND_PIN;
|
spekBindPin = BIND_PIN;
|
||||||
|
|
||||||
|
|
|
@ -76,3 +76,8 @@
|
||||||
#define TELEMETRY
|
#define TELEMETRY
|
||||||
#define SERIAL_RX
|
#define SERIAL_RX
|
||||||
#define AUTOTUNE
|
#define AUTOTUNE
|
||||||
|
|
||||||
|
#define SPEKTRUM_BIND
|
||||||
|
// USART3, PB11 (Flexport)
|
||||||
|
#define BIND_PORT GPIOB
|
||||||
|
#define BIND_PIN Pin_11
|
||||||
|
|
|
@ -61,3 +61,8 @@
|
||||||
#define SENSORS_SET (SENSOR_ACC | SENSOR_MAG)
|
#define SENSORS_SET (SENSOR_ACC | SENSOR_MAG)
|
||||||
|
|
||||||
#define SERIAL_RX
|
#define SERIAL_RX
|
||||||
|
|
||||||
|
#define SPEKTRUM_BIND
|
||||||
|
// USART2, PA3
|
||||||
|
#define BIND_PORT GPIOA
|
||||||
|
#define BIND_PIN Pin_3
|
||||||
|
|
|
@ -114,5 +114,6 @@
|
||||||
#define AUTOTUNE
|
#define AUTOTUNE
|
||||||
|
|
||||||
#define SPEKTRUM_BIND
|
#define SPEKTRUM_BIND
|
||||||
|
// USART2, PA3
|
||||||
#define BIND_PORT GPIOA
|
#define BIND_PORT GPIOA
|
||||||
#define BIND_PIN Pin_3
|
#define BIND_PIN Pin_3
|
||||||
|
|
|
@ -46,3 +46,8 @@
|
||||||
#define TELEMETRY
|
#define TELEMETRY
|
||||||
#define SERIAL_RX
|
#define SERIAL_RX
|
||||||
#define AUTOTUNE
|
#define AUTOTUNE
|
||||||
|
|
||||||
|
#define SPEKTRUM_BIND
|
||||||
|
// USART2, PA3
|
||||||
|
#define BIND_PORT GPIOA
|
||||||
|
#define BIND_PIN Pin_3
|
||||||
|
|
Loading…
Reference in New Issue