reducing confusion?

This commit is contained in:
rusefi 2020-05-04 20:52:32 -04:00
parent 6268b8d039
commit cc1ca11e40
2 changed files with 5 additions and 1 deletions

View File

@ -85,7 +85,8 @@
#define TS_UART_DMA_MODE FALSE
#undef TS_UART_DEVICE
#define TS_UART_DEVICE (&UARTD3)
//#define TS_UART_DEVICE (&UARTD3)
#undef TS_SERIAL_DEVICE
#define TS_SERIAL_DEVICE (&SD3)

View File

@ -87,6 +87,9 @@ void startTsPort(ts_channel_s *tsChannel) {
#if EFI_PROD_CODE
#if defined(CONSOLE_USB_DEVICE)
#if defined(TS_UART_DEVICE)
#error "cannot have TS_UART_DEVICE and CONSOLE_USB_DEVICE"
#endif
print("TunerStudio over USB serial");
/**
* This method contains a long delay, that's the reason why this is not done on the main thread