mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 13:17:55 -06:00
mcu: Remove unneeded MCU_digital_out.get_last_setting() method
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2a8dd5c51f
commit
1d6af72de5
3 changed files with 1 additions and 9 deletions
|
@ -208,7 +208,6 @@ class ReplicapeDACEnable:
|
|||
self.mcu = replicape.host_mcu
|
||||
self.value = replicape.stepper_dacs[channel]
|
||||
self.pwm = pca9685_pwm(replicape, channel, pin_params)
|
||||
self.last = 0
|
||||
def get_mcu(self):
|
||||
return self.mcu
|
||||
def setup_max_duration(self, max_duration):
|
||||
|
@ -218,9 +217,6 @@ class ReplicapeDACEnable:
|
|||
self.pwm.set_pwm(print_time, self.value)
|
||||
else:
|
||||
self.pwm.set_pwm(print_time, 0.)
|
||||
self.last = value
|
||||
def get_last_setting(self):
|
||||
return self.last
|
||||
|
||||
ReplicapeStepConfig = {
|
||||
'disable': None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue