mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-04 20:36:00 +01: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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user