aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/display/display.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-08-05 11:43:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-08-20 21:03:22 -0400
commit4c5e93d51dca2393946a67646499fef5fdd034b0 (patch)
tree5450c95a3aa8fe5554dad97df2adf9b2b05c1a64 /klippy/extras/display/display.cfg
parentcd7c1b8e68d8234524149c62e8ea2ad0bda07d2f (diff)
downloadkutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.gz
kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.xz
kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.zip
gcode: Split G0/G1 command handling to new gcode_move class
Split up the main GCodeParser class into GCodeDispatch and GCodeMove classes. The GCodeMove class is now available using the "gcode_move" printer object name. This split simplifies the gcode.py code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/display/display.cfg')
-rw-r--r--klippy/extras/display/display.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/display/display.cfg b/klippy/extras/display/display.cfg
index 35a68dd7..a6377914 100644
--- a/klippy/extras/display/display.cfg
+++ b/klippy/extras/display/display.cfg
@@ -83,7 +83,7 @@ text: { render("_heater_temperature", param_heater_name="heater_bed") }
position: 1, 10
text:
~feedrate~
- { "{:>4.0%}".format(printer.gcode.speed_factor) }
+ { "{:>4.0%}".format(printer.gcode_move.speed_factor) }
[display_data _default_16x4 print_progress]
position: 2, 0
@@ -164,7 +164,7 @@ text:
position: 2, 0
text:
~feedrate~
- { "{:^4.0%}".format(printer.gcode.speed_factor) }
+ { "{:^4.0%}".format(printer.gcode_move.speed_factor) }
[display_data _default_20x4 print_progress]
position: 2, 8