tmc_uart: Use print_time=None as default (not print_time=0)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4aeb7d38a7
commit
9855354c75
|
@ -204,7 +204,7 @@ class MCU_TMC_uart:
|
||||||
return val
|
return val
|
||||||
raise self.printer.command_error(
|
raise self.printer.command_error(
|
||||||
"Unable to read tmc2208 '%s' register %s" % (self.name, reg_name))
|
"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]
|
reg = self.name_to_reg[reg_name]
|
||||||
if self.printer.get_start_args().get('debugoutput') is not None:
|
if self.printer.get_start_args().get('debugoutput') is not None:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue