aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/mcu.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-12-05 21:09:06 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-12-06 19:13:54 -0500
commit1d6af72de5b28a32ef5506b312943caeecaf787b (patch)
tree7b504d7236b6ae251900072d9ad2dda15c5d15a8 /klippy/mcu.py
parent2a8dd5c51f4097ae1142b681af75f529bb9e37f3 (diff)
downloadkutter-1d6af72de5b28a32ef5506b312943caeecaf787b.tar.gz
kutter-1d6af72de5b28a32ef5506b312943caeecaf787b.tar.xz
kutter-1d6af72de5b28a32ef5506b312943caeecaf787b.zip
mcu: Remove unneeded MCU_digital_out.get_last_setting() method
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r--klippy/mcu.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index 6a080429..db330759 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -233,7 +233,6 @@ class MCU_digital_out:
self._invert = self._shutdown_value = pin_params['invert']
self._max_duration = 2.
self._last_clock = 0
- self._last_value = None
self._cmd_queue = mcu.alloc_command_queue()
self._set_cmd = None
def get_mcu(self):
@@ -264,9 +263,6 @@ class MCU_digital_out:
self._mcu.send(msg, minclock=self._last_clock, reqclock=clock
, cq=self._cmd_queue)
self._last_clock = clock
- self._last_value = value
- def get_last_setting(self):
- return self._last_value
def set_pwm(self, print_time, value):
self.set_digital(print_time, value >= 0.5)