mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -06:00
heater: Rename add_sensor() to add_sensor_factory()
Signed-off-by: Douglas Hammond <wizhippo@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
cf6c5e6f18
commit
bb4fab5570
4 changed files with 12 additions and 12 deletions
|
@ -342,4 +342,4 @@ def load_config(config):
|
|||
# Register sensors
|
||||
pheater = config.get_printer().lookup_object("heater")
|
||||
for name, klass in Sensors.items():
|
||||
pheater.add_sensor(name, klass)
|
||||
pheater.add_sensor_factory(name, klass)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue