mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 22:35:17 -06:00
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>
This commit is contained in:
parent
f4d323adbc
commit
f6c9150349
4 changed files with 35 additions and 27 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue