Introduce AUX_SERIAL (#6456)
This commit is contained in:
@@ -176,7 +176,7 @@ void processCrossfireTelemetryFrame()
|
||||
|
||||
void processCrossfireTelemetryData(uint8_t data)
|
||||
{
|
||||
#if defined(SERIAL2)
|
||||
#if defined(AUX_SERIAL)
|
||||
if (g_eeGeneral.serial2Mode == UART_MODE_TELEMETRY_MIRROR) {
|
||||
serial2Putc(data);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ void processFrskyTelemetryData(uint8_t data)
|
||||
btPushByte(data);
|
||||
#endif
|
||||
|
||||
#if defined(SERIAL2)
|
||||
#if defined(AUX_SERIAL)
|
||||
if (g_eeGeneral.serial2Mode == UART_MODE_TELEMETRY_MIRROR) {
|
||||
serial2Putc(data);
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ void telemetryInit(uint8_t protocol)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(SERIAL2) || defined(PCBSKY9X)
|
||||
#if defined(AUX_SERIAL) || defined(PCBSKY9X)
|
||||
else if (protocol == PROTOCOL_TELEMETRY_FRSKY_D_SECONDARY) {
|
||||
telemetryPortInit(0, TELEMETRY_SERIAL_DEFAULT);
|
||||
serial2TelemetryInit(PROTOCOL_TELEMETRY_FRSKY_D_SECONDARY);
|
||||
|
||||
Reference in New Issue
Block a user