diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:07:41 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:07:41 -0500 |
commit | d7e8264d92b583555cad7888bf44a0c6e59f5a4c (patch) | |
tree | b0261e7c558acffd409a48bfeb3f8a7b3125796c /klippy/kinematics | |
parent | 118b7593a67b651d6771ba97d14a49147152ca28 (diff) | |
download | kutter-d7e8264d92b583555cad7888bf44a0c6e59f5a4c.tar.gz kutter-d7e8264d92b583555cad7888bf44a0c6e59f5a4c.tar.xz kutter-d7e8264d92b583555cad7888bf44a0c6e59f5a4c.zip |
extruder: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/kinematics')
-rw-r--r-- | klippy/kinematics/extruder.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index ec51b4df..b32b66d9 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -60,8 +60,8 @@ class PrinterExtruder: gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", None, self.cmd_default_SET_PRESSURE_ADVANCE, desc=self.cmd_SET_PRESSURE_ADVANCE_help) - gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", self.name, - self.cmd_SET_PRESSURE_ADVANCE, + gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", + self.name, self.cmd_SET_PRESSURE_ADVANCE, desc=self.cmd_SET_PRESSURE_ADVANCE_help) def get_heater(self): return self.heater @@ -242,7 +242,8 @@ def add_printer_objects(config): printer.add_object('extruder0', pe) continue 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): out = [] |