diff options
Diffstat (limited to 'klippy/extras/adc_temperature.py')
-rw-r--r-- | klippy/extras/adc_temperature.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/adc_temperature.py b/klippy/extras/adc_temperature.py index d456a653..b76e8c66 100644 --- a/klippy/extras/adc_temperature.py +++ b/klippy/extras/adc_temperature.py @@ -95,8 +95,8 @@ class LinearVoltage: for temp, volt in params: adc = (volt - voltage_offset) / adc_voltage if adc < 0. or adc > 1.: - logging.warn("Ignoring adc sample %.3f/%.3f in heater %s", - temp, volt, config.get_name()) + logging.warning("Ignoring adc sample %.3f/%.3f in heater %s", + temp, volt, config.get_name()) continue samples.append((adc, temp)) try: |