tmc2240: Correct maximum TMC2240 UART address. (#6757)

Signed-off-by: Liam Powell <liam@liampwll.com>
This commit is contained in:
Liam Powell authored and GitHub committed 2024-12-02 13:30:57 -05:00
1 parent aecb29d2b0
commit 7f89668d6c
1 file changed
+1 -1
+1 -1
View File
@@ -348,7 +348,7 @@ class TMC2240:
if config.get("uart_pin", None) is not None:
# use UART for communication
self.mcu_tmc = tmc_uart.MCU_TMC_uart(config, Registers, self.fields,
3, TMC_FREQUENCY)
7, TMC_FREQUENCY)
else:
# Use SPI bus for communication
self.mcu_tmc = tmc2130.MCU_TMC_SPI(config, Registers, self.fields,