aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tmc_uart.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-06-25 18:27:59 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-06-25 18:27:59 -0400
commit9855354c75c7823fc4df065fb62e87f3f927dfa4 (patch)
tree31d422ad3070dface25452108ef4dc0c1293ea82 /klippy/extras/tmc_uart.py
parent4aeb7d38a71b3f5730c41912f6abd50603b5fcc9 (diff)
downloadkutter-9855354c75c7823fc4df065fb62e87f3f927dfa4.tar.gz
kutter-9855354c75c7823fc4df065fb62e87f3f927dfa4.tar.xz
kutter-9855354c75c7823fc4df065fb62e87f3f927dfa4.zip
tmc_uart: Use print_time=None as default (not print_time=0)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/tmc_uart.py')
-rw-r--r--klippy/extras/tmc_uart.py2
1 files changed, 1 insertions, 1 deletions
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