Skip to content

Commit

Permalink
fix typo on bed temp command that caused a crash when setting a bed temp
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcurti committed Jun 2, 2024
1 parent a7f0751 commit 1d47345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klippy/extras/printerInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,8 @@ def save_settings(self):
def setExtTemp(self, target, toolnum=0):
self.sendGCode("M104 T%s S%s" % (toolnum, str(target)))

def setExtTemp(self, target):
self.sendGCode('M104 S' + str(target))
def setBedTemp(self, target):
self.sendGCode("M140 S%s" % str(target))

def setZOffset(self, offset):
self.sendGCode('SET_GCODE_OFFSET Z={} MOVE=1'.format(str(offset)))
Expand Down

0 comments on commit 1d47345

Please sign in to comment.