tmc2660: Raise SPI speed to 4 Mhz

Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
This commit is contained in:
Florian Heilmann 2019-03-05 18:45:50 +00:00 committed by KevinOConnor
parent e96b71a9a3
commit 8e17df5d78
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class TMC2660:
def __init__(self, config):
self.printer = config.get_printer()
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
gcode = self.printer.lookup_object("gcode")
gcode.register_mux_command(