1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Definition for serial RX changed - moved to target.h

This commit is contained in:
Marcin Baliniak 2016-09-01 13:42:06 +02:00
parent 7963e0518f
commit f6564c1bc2
2 changed files with 3 additions and 1 deletions

View file

@ -79,6 +79,5 @@
void targetConfiguration(master_t *config) {
config->rxConfig.sbus_inversion = 0;
config->rxConfig.rssi_scale = 19;
config->serialConfig.portConfigs[1].functionMask = FUNCTION_RX_SERIAL;
config->rxConfig.serialrx_provider = SERIALRX_SBUS;
}

View file

@ -62,6 +62,9 @@
#define UART3_TX_PIN PB10
#define UART3_RX_PIN PB11
#define SERIALRX_UART SERIAL_PORT_USART2
#define USE_SPI
#define USE_SPI_DEVICE_2 // PB12,13,14,15 on AF5