1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

[FRSKYPILOT] Fix UART number for OSD, should be 6, not 5 (#6130)

This commit is contained in:
Michel Pastor 2020-09-16 13:34:55 +02:00 committed by GitHub
parent 456d8c46d4
commit ffb782bd92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@
void targetConfiguration(void) void targetConfiguration(void)
{ {
serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART1)].functionMask = FUNCTION_TELEMETRY_SMARTPORT_MASTER; serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART1)].functionMask = FUNCTION_TELEMETRY_SMARTPORT_MASTER;
serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART5)].functionMask = FUNCTION_FRSKY_OSD; serialConfigMutable()->portConfigs[findSerialPortIndexByIdentifier(SERIAL_PORT_USART6)].functionMask = FUNCTION_FRSKY_OSD;
rxConfigMutable()->serialrx_inverted = 1; rxConfigMutable()->serialrx_inverted = 1;
} }