diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-05-26 14:54:25 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-05-26 14:56:52 -0400 |
commit | ceaf818a1101ac7cfd0a13ec2f536fe3a652b7a4 (patch) | |
tree | 3ae549ab55f6e812e12cef790a481d6cea2547d8 /klippy/gcode.py | |
parent | 04532448bcb3928438d1215a579336a05addcca8 (diff) | |
download | kutter-ceaf818a1101ac7cfd0a13ec2f536fe3a652b7a4.tar.gz kutter-ceaf818a1101ac7cfd0a13ec2f536fe3a652b7a4.tar.xz kutter-ceaf818a1101ac7cfd0a13ec2f536fe3a652b7a4.zip |
tuning_tower: Minor optimization
Store a reference to the gcode class in self.code. Obtain the
z_offset once and use for both the oldval and newval calculation.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/gcode.py')
0 files changed, 0 insertions, 0 deletions