Logo
Explore Help
Register Sign In
Druk-3D/klipper
1
0
Fork 0
You've already forked klipper
mirror of https://github.com/Klipper3d/klipper.git synced 2025-11-17 02:31:01 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
adf6040e9eeb09299379ad980f8382538c163750
klipper/klippy/extras/heater_bed.py

9 lines
270 B
Python
Raw Normal View History

heater: Add PrinterHeaters class that stores all sensors and heaters Add a PrinterHeaters class that can stores references to available temperature sensors and stores references to instantiated heaters. Add a extras/heater_bed.py file and delay instantiation of the heater_bed object. This allows the heater.py module to be imported earlier during the setup phase, and allows the PrinterHeaters class to be available for registering sensors and heaters. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-04-03 17:01:10 -04:00
# Support for a heated bed
#
# Copyright (C) 2018 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
def load_config(config):
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>
2019-01-02 17:44:02 -05:00
return config.get_printer().lookup_object('heater').setup_heater(config, 'B')
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 90ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API