diff --git a/firmware/console/connector_uart_dma.h b/firmware/console/connector_uart_dma.h index 271952b799..128ef16d25 100644 --- a/firmware/console/connector_uart_dma.h +++ b/firmware/console/connector_uart_dma.h @@ -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 diff --git a/firmware/console/console_io.h b/firmware/console/console_io.h index 723d86bb94..4d201411a4 100644 --- a/firmware/console/console_io.h +++ b/firmware/console/console_io.h @@ -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 diff --git a/unit_tests/svnversion.h b/unit_tests/svnversion.h new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/unit_tests/svnversion.h @@ -0,0 +1 @@ +