mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-06-21 00:20:53 +02:00
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>