diff options
author | john-- <john@gprime.net> | 2019-01-02 17:44:02 -0500 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-01-02 17:44:02 -0500 |
commit | f6c9150349d3ffb364a990132a16afa64c890b2e (patch) | |
tree | b85a7e6c402deca6a479d074246a7ada6a148205 /klippy/extras/heater_bed.py | |
parent | f4d323adbce7b82f44d6813a0fea0f1537ae234f (diff) | |
download | kutter-f6c9150349d3ffb364a990132a16afa64c890b2e.tar.gz kutter-f6c9150349d3ffb364a990132a16afa64c890b2e.tar.xz kutter-f6c9150349d3ffb364a990132a16afa64c890b2e.zip |
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 <john@gprime.net>
Diffstat (limited to 'klippy/extras/heater_bed.py')
-rw-r--r-- | klippy/extras/heater_bed.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |