Merge pull request #8264 from olliw42/owpr-trainersbusfifo

Remove superfluous trainerSbusFifo
This commit is contained in:
Bertrand Songis
2021-02-02 15:15:32 +01:00
committed by GitHub
2 changed files with 2 additions and 10 deletions
@@ -21,10 +21,6 @@
#include "opentx.h"
#include "targets/horus/board.h"
#if defined(SBUS)
extern Fifo<uint8_t, 32> trainerSbusFifo;
#endif
#if defined(AUX_SERIAL)
uint8_t auxSerialMode = UART_MODE_COUNT; // Prevent debug output before port is setup
Fifo<uint8_t, 512> auxSerialTxFifo;
@@ -416,4 +412,4 @@ extern "C" void AUX2_SERIAL_USART_IRQHandler(void)
}
}
#endif // SIMU
#endif // AUX2_SERIAL
#endif // AUX2_SERIAL
+1 -5
View File
@@ -20,10 +20,6 @@
#include "opentx.h"
#if defined(SBUS_TRAINER)
Fifo<uint8_t, 32> trainerSbusFifo;
#endif
void trainerSendNextFrame();
void init_trainer_ppm()
@@ -174,4 +170,4 @@ int sbusGetByte(uint8_t * byte)
default:
return false;
}
}
}