Introduce AUX_SERIAL (#6456)

This commit is contained in:
3djc
2019-05-28 13:06:02 +02:00
committed by Bertrand Songis
parent 2fee251ac5
commit 1c51c646c4
22 changed files with 93 additions and 93 deletions
@@ -184,7 +184,7 @@ extern "C" void TELEMETRY_USART_IRQHandler(void)
// TODO we should have telemetry in an higher layer, functions above should move to a sport_driver.cpp
uint8_t telemetryGetByte(uint8_t * byte)
{
#if defined(SERIAL2)
#if defined(AUX_SERIAL)
if (telemetryProtocol == PROTOCOL_TELEMETRY_FRSKY_D_SECONDARY) {
if (serial2Mode == UART_MODE_TELEMETRY)
return serial2RxFifo.pop(*byte);