From 4aeb7d38a71b3f5730c41912f6abd50603b5fcc9 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 25 Jun 2019 18:14:34 -0400 Subject: [PATCH] sx1509: Minor cleanup - don't default print_time to 0 It's not valid to use a print_time=0, and it isn't actually used in the sx1509 code. Signed-off-by: Kevin O'Connor --- klippy/extras/sx1509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/sx1509.py b/klippy/extras/sx1509.py index cedec97c..27f335c9 100644 --- a/klippy/extras/sx1509.py +++ b/klippy/extras/sx1509.py @@ -81,7 +81,7 @@ class SX1509(object): self.reg_dict[reg] = value elif reg in self.reg_i_on_dict: self.reg_i_on_dict[reg] = value - def send_register(self, reg, print_time=0): + def send_register(self, reg, print_time): data = [reg & 0xFF] if reg in self.reg_dict: # Word