Skip to content

Commit

Permalink
tuning_tower: Report start of tuning test on g-code console
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
  • Loading branch information
KevinOConnor authored and FHeilmann committed Jan 28, 2020
1 parent ef82859 commit 58b0aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klippy/extras/tuning_tower.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def cmd_TUNING_TOWER(self, params):
self.factor = gcode.get_float('FACTOR', params)
self.band = gcode.get_float('BAND', params, 0., minval=0.)
# Enable test mode
logging.info("Starting tuning test (start=%.6f factor=%.6f)",
self.start, self.factor)
self.normal_transform = gcode.set_move_transform(self, force=True)
self.last_z = -99999999.9
gcode.reset_last_position()
self.get_position()
gcode.respond_info("Starting tuning test (start=%.6f factor=%.6f)"
% (self.start, self.factor))
def get_position(self):
pos = self.normal_transform.get_position()
self.last_postition = list(pos)
Expand Down

0 comments on commit 58b0aac

Please sign in to comment.