From f6c9150349d3ffb364a990132a16afa64c890b2e Mon Sep 17 00:00:00 2001 From: john-- Date: Wed, 2 Jan 2019 17:44:02 -0500 Subject: heater: take a gcode_id when setting up a heater (#1028) Allow an arbitrary gcode_id to be supplied during heater setup. This allows future extras to register additional IDs beyond B, and T#. Signed-off-by: John Jardine --- klippy/extras/heater_bed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/extras/heater_bed.py') diff --git a/klippy/extras/heater_bed.py b/klippy/extras/heater_bed.py index 94040b8c..5e0fd821 100644 --- a/klippy/extras/heater_bed.py +++ b/klippy/extras/heater_bed.py @@ -5,4 +5,4 @@ # 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) + return config.get_printer().lookup_object('heater').setup_heater(config, 'B') -- cgit v1.2.3-70-g09d2