occasional tunerstudio CRC errors #1943

getting ready for unit test
This commit is contained in:
rusefillc 2020-11-15 11:53:09 -05:00
parent 842372e69a
commit 30a0082ed2
3 changed files with 8 additions and 2 deletions

View File

@ -22,8 +22,10 @@ typedef struct {
volatile int readPos;
// secondary FIFO buffer for async. transfer
uint8_t buffer[TS_FIFO_BUFFER_SIZE];
#if EFI_PROD_CODE || EFI_SIMULATOR
// input FIFO Rx queue
input_queue_t fifoRxQueue;
#endif
} uart_dma_s;
#if TS_UART_DMA_MODE || PRIMARY_UART_DMA_MODE

View File

@ -20,16 +20,19 @@ typedef void (*CommandHandler)(char *);
#include "efifeatures.h"
#include "datalogging.h"
BaseChannel * getConsoleChannel(void);
void consolePutChar(int x);
void consoleOutputBuffer(const uint8_t *buf, int size);
void startConsole(Logging *sharedLogger, CommandHandler console_line_callback_p);
void onDataArrived(void);
bool isUsbSerial(BaseChannel * channel);
#if EFI_PROD_CODE || EFI_SIMULATOR || EFI_EGT
bool isCommandLineConsoleReady(void);
bool isUsbSerial(BaseChannel * channel);
BaseChannel * getConsoleChannel(void);
#else
#define isCommandLineConsoleReady() true
#endif

1
unit_tests/svnversion.h Normal file
View File

@ -0,0 +1 @@