From 9855354c75c7823fc4df065fb62e87f3f927dfa4 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 25 Jun 2019 18:27:59 -0400 Subject: [PATCH] tmc_uart: Use print_time=None as default (not print_time=0) Signed-off-by: Kevin O'Connor --- klippy/extras/tmc_uart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/tmc_uart.py b/klippy/extras/tmc_uart.py index f5584e8b..c67575ca 100644 --- a/klippy/extras/tmc_uart.py +++ b/klippy/extras/tmc_uart.py @@ -204,7 +204,7 @@ class MCU_TMC_uart: return val raise self.printer.command_error( "Unable to read tmc2208 '%s' register %s" % (self.name, reg_name)) - def set_register(self, reg_name, val, print_time=0.): + def set_register(self, reg_name, val, print_time=None): reg = self.name_to_reg[reg_name] if self.printer.get_start_args().get('debugoutput') is not None: return