aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--klippy/extras/heater_bed.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/extras/heater_bed.py b/klippy/extras/heater_bed.py
index 5e0fd821..4dd11ec4 100644
--- a/klippy/extras/heater_bed.py
+++ b/klippy/extras/heater_bed.py
@@ -5,4 +5,5 @@
# This file may be distributed under the terms of the GNU GPLv3 license.
def load_config(config):
- return config.get_printer().lookup_object('heater').setup_heater(config, 'B')
+ pheater = config.get_printer().lookup_object('heater')
+ return pheater.setup_heater(config, 'B')