diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-01-15 17:14:14 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-01-23 20:04:03 -0500 |
commit | 43a9685c581a46ea161faa297c0a29f3bcd7194e (patch) | |
tree | 041e6ed2b994eab19c5ddc237127e531b38273c4 /klippy/extras/sx1509.py | |
parent | fd2feff67df65c559cafc8fc5f2fd8601355e81a (diff) | |
download | kutter-43a9685c581a46ea161faa297c0a29f3bcd7194e.tar.gz kutter-43a9685c581a46ea161faa297c0a29f3bcd7194e.tar.xz kutter-43a9685c581a46ea161faa297c0a29f3bcd7194e.zip |
mcu: Remove support for set_pwm() cycle_time parameter
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/sx1509.py')
-rw-r--r-- | klippy/extras/sx1509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/sx1509.py b/klippy/extras/sx1509.py index 51080fe2..3bfecb78 100644 --- a/klippy/extras/sx1509.py +++ b/klippy/extras/sx1509.py @@ -183,7 +183,7 @@ class SX1509_pwm(object): shutdown_value = 1. - shutdown_value self._start_value = max(0., min(1., start_value)) self._shutdown_value = max(0., min(1., shutdown_value)) - def set_pwm(self, print_time, value, cycle_time=None): + def set_pwm(self, print_time, value): self._sx1509.set_register(self._i_on_reg, ~int(255 * value) if not self._invert else int(255 * value) & 0xFF) |