Fix offset values on API after setting one offset
Make sure to set the actual effective offsets as provided by the comm layer (which merges incoming single offset adjustments) instead of only setting the input, effectively nuking return of offsets set prior. Closes #2268
This commit is contained in:
parent
743d590d52
commit
41eb9481b3
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
|||
return
|
||||
|
||||
self._comm.setTemperatureOffset(offsets)
|
||||
self._setOffsets(offsets)
|
||||
self._setOffsets(self._comm.getOffsets())
|
||||
|
||||
def _convert_rate_value(self, factor, min=0, max=200):
|
||||
if not isinstance(factor, (int, float, long)):
|
||||
|
|
|
|||
Loading…
Reference in a new issue