mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 04:08:04 -06:00
mcu: Rename output_file_mode variable to is_fileoutput
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
72c4f353e6
commit
ceb60ffcc6
2 changed files with 6 additions and 4 deletions
|
@ -51,7 +51,7 @@ class PrinterHeater:
|
|||
control_algo = self.config.get('control', 'watermark')
|
||||
algos = {'watermark': ControlBangBang, 'pid': ControlPID}
|
||||
self.control = algos[control_algo](self, self.config)
|
||||
if self.printer.mcu.output_file_mode:
|
||||
if self.printer.mcu.is_fileoutput():
|
||||
self.can_extrude = True
|
||||
def set_pwm(self, read_time, value):
|
||||
if value:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue