mcu: Rename output_file_mode variable to is_fileoutput

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2016-11-23 16:18:08 -05:00
parent 72c4f353e6
commit ceb60ffcc6
2 changed files with 6 additions and 4 deletions

View file

@ -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: