Cosmetics
This commit is contained in:
@@ -401,7 +401,9 @@ void checkTrainerSettings(void);
|
|||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
#include "dmafifo.h"
|
#include "dmafifo.h"
|
||||||
extern Fifo<uint8_t, 64> telemetryFifo;
|
|
||||||
|
#define TELEMETRY_FIFO_SIZE 64
|
||||||
|
extern Fifo<uint8_t, TELEMETRY_FIFO_SIZE> telemetryFifo;
|
||||||
extern DMAFifo<32> serial2RxFifo;
|
extern DMAFifo<32> serial2RxFifo;
|
||||||
extern Fifo<uint8_t, 32> sbusFifo;
|
extern Fifo<uint8_t, 32> sbusFifo;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "opentx.h"
|
#include "opentx.h"
|
||||||
|
|
||||||
Fifo<uint8_t, 64> telemetryFifo;
|
Fifo<uint8_t, TELEMETRY_FIFO_SIZE> telemetryFifo;
|
||||||
uint32_t telemetryErrors = 0;
|
uint32_t telemetryErrors = 0;
|
||||||
|
|
||||||
void telemetryPortInit(uint32_t baudrate)
|
void telemetryPortInit(uint32_t baudrate)
|
||||||
|
|||||||
Reference in New Issue
Block a user