From a9ec92352b488007cf63473d512710bc2965b762 Mon Sep 17 00:00:00 2001 From: Mitch Bradley Date: Tue, 21 Dec 2021 14:26:02 -1000 Subject: [PATCH] Fixed typo in Trinamic names. --- Grbl_Esp32/src/DumpConfig.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Grbl_Esp32/src/DumpConfig.cpp b/Grbl_Esp32/src/DumpConfig.cpp index c6d49b17..cf08584e 100644 --- a/Grbl_Esp32/src/DumpConfig.cpp +++ b/Grbl_Esp32/src/DumpConfig.cpp @@ -306,7 +306,9 @@ void print_trinamic_uart(TrinamicUartDriver* m, int axis, int gang, const char* item("r_sense_ohms", m->_r_sense); item("addr", tmc_addr++); print_trinamic_common(axis, gang, TrinamicMode(TRINAMIC_UART_RUN_MODE), TrinamicMode(TRINAMIC_UART_HOMING_MODE)); - print_uart(TMC_UART, TMC_UART_TX, TMC_UART_RX, UNDEFINED_PIN, 115200, "8n1"); + if (tmc_addr == 1) { + print_uart(TMC_UART, TMC_UART_TX, TMC_UART_RX, UNDEFINED_PIN, 115200, "8N1"); + } end_section(); } void print_null_motor(Motor* m, int axis, int gang, const char* name) {