diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-06-18 13:01:34 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-06-21 15:32:30 -0400 |
commit | d89722056bf58103dc7fc06bc310ac39afa6aaa0 (patch) | |
tree | 7a758d84365dce6ad210a0263d0ad702d9901c20 /klippy/mcu.py | |
parent | 9fa0fb1a0ebca3ed4be887417b255b26fc99bbfd (diff) | |
download | kutter-d89722056bf58103dc7fc06bc310ac39afa6aaa0.tar.gz kutter-d89722056bf58103dc7fc06bc310ac39afa6aaa0.tar.xz kutter-d89722056bf58103dc7fc06bc310ac39afa6aaa0.zip |
mcu: Rename setup_minmax() to setup_adc_sample()
Rename this method so that it is more distinct from the the common
temperature setup_minmax() method.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/mcu.py')
-rw-r--r-- | klippy/mcu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py index feb4856a..1122ff86 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -496,8 +496,8 @@ class MCU_adc: self._inv_max_adc = 0. def get_mcu(self): return self._mcu - def setup_minmax(self, sample_time, sample_count, - minval=0., maxval=1., range_check_count=0): + def setup_adc_sample(self, sample_time, sample_count, + minval=0., maxval=1., range_check_count=0): self._sample_time = sample_time self._sample_count = sample_count self._min_sample = minval |