diff --git a/klippy/extras/temperature_mcu.py b/klippy/extras/temperature_mcu.py index 9167ff79d..a9b3cd64f 100644 --- a/klippy/extras/temperature_mcu.py +++ b/klippy/extras/temperature_mcu.py @@ -55,9 +55,6 @@ def __init__(self, config): range_check_count=self._danger_check_count, ) return - self.printer.register_event_handler( - "klippy:mcu_identify", self._mcu_identify - ) self.mcu_adc.get_mcu().register_config_callback(self._build_config) def setup_callback(self, temperature_callback): @@ -80,9 +77,6 @@ def calc_adc(self, temp): def calc_base(self, temp, adc): return temp - adc * self.slope - def _mcu_identify(self): - self._build_config() - def _build_config(self): # Obtain mcu information _mcu = self.mcu_adc.get_mcu() @@ -136,6 +130,7 @@ def _build_config(self): maxval=max(adc_range), range_check_count=self._danger_check_count, ) + self.mcu_adc._build_config() def config_unknown(self): raise self.printer.config_error(