Corrected typo for print bed command "offset", expected parameter is called "offset" not "offsets"
Compare #444
This commit is contained in:
parent
bf9d5efe43
commit
9ab4fa608a
2 changed files with 2 additions and 2 deletions
|
|
@ -506,7 +506,7 @@ Issue a bed command
|
|||
offset
|
||||
Sets the given temperature offset on the printer's tools. Additional parameters:
|
||||
|
||||
* ``offsets``: Offset to set.
|
||||
* ``offset``: Offset to set.
|
||||
|
||||
All of these commands may only be sent if the printer is currently operational. Otherwise a :http:statuscode:`409`
|
||||
is returned.
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ def printerBedCommand():
|
|||
|
||||
##~~ temperature offset
|
||||
elif command == "offset":
|
||||
offset = data["offsets"]
|
||||
offset = data["offset"]
|
||||
|
||||
# make sure the offset is valid
|
||||
if not isinstance(offset, (int, long, float)):
|
||||
|
|
|
|||
Loading…
Reference in a new issue