mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -06:00
fan: Add support for heater_fan objects
Add support for fans designed to cool the components of an extruder or heater. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
519e81d0fa
commit
969485c754
5 changed files with 63 additions and 6 deletions
|
@ -107,6 +107,9 @@ class ConfigWrapper:
|
|||
return ConfigWrapper(self.printer, section)
|
||||
def has_section(self, section):
|
||||
return self.printer.fileconfig.has_section(section)
|
||||
def get_prefix_sections(self, prefix):
|
||||
return [self.getsection(s) for s in self.printer.fileconfig.sections()
|
||||
if s.startswith(prefix)]
|
||||
|
||||
class ConfigLogger():
|
||||
def __init__(self, cfg, bglogger):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue