parent
842372e69a
commit
30a0082ed2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
Loading…
Reference in New Issue