mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 00:08:08 +09:00
tmc2660: Raise SPI speed to 4 Mhz
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
committed by
KevinOConnor
parent
e96b71a9a3
commit
8e17df5d78
@@ -125,7 +125,7 @@ class TMC2660:
|
|||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
self.printer = config.get_printer()
|
self.printer = config.get_printer()
|
||||||
self.name = config.get_name().split()[1]
|
self.name = config.get_name().split()[1]
|
||||||
self.spi = bus.MCU_SPI_from_config(config, 0, default_speed=2000000)
|
self.spi = bus.MCU_SPI_from_config(config, 0, default_speed=4000000)
|
||||||
# Add SET_CURRENT and DUMP_TMC commands
|
# Add SET_CURRENT and DUMP_TMC commands
|
||||||
gcode = self.printer.lookup_object("gcode")
|
gcode = self.printer.lookup_object("gcode")
|
||||||
gcode.register_mux_command(
|
gcode.register_mux_command(
|
||||||
|
|||||||
Reference in New Issue
Block a user