extruder: Wrap code to 80 columns

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-02-27 13:07:41 -05:00
parent 118b7593a6
commit d7e8264d92
1 changed files with 4 additions and 3 deletions

View File

@ -60,8 +60,8 @@ class PrinterExtruder:
gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", None, gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", None,
self.cmd_default_SET_PRESSURE_ADVANCE, self.cmd_default_SET_PRESSURE_ADVANCE,
desc=self.cmd_SET_PRESSURE_ADVANCE_help) desc=self.cmd_SET_PRESSURE_ADVANCE_help)
gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", self.name, gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER",
self.cmd_SET_PRESSURE_ADVANCE, self.name, self.cmd_SET_PRESSURE_ADVANCE,
desc=self.cmd_SET_PRESSURE_ADVANCE_help) desc=self.cmd_SET_PRESSURE_ADVANCE_help)
def get_heater(self): def get_heater(self):
return self.heater return self.heater
@ -242,7 +242,8 @@ def add_printer_objects(config):
printer.add_object('extruder0', pe) printer.add_object('extruder0', pe)
continue continue
break break
printer.add_object(section, PrinterExtruder(config.getsection(section), i)) pe = PrinterExtruder(config.getsection(section), i)
printer.add_object(section, pe)
def get_printer_extruders(printer): def get_printer_extruders(printer):
out = [] out = []