Fix T6906
ClosedPublic

Authored by rizzitello on Oct 8 2017, 1:57 PM.

Details

Summary

Fix T6906 by checking if extruder or bed temperature is sent first then adjusting
temperature storage accordingly

Diff Detail

Repository
R232 AtCore
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
rizzitello created this revision.Oct 8 2017, 1:57 PM
laysrodrigues accepted this revision.Oct 8 2017, 2:09 PM
This revision is now accepted and ready to land.Oct 8 2017, 2:09 PM
tcanabrava accepted this revision.Oct 9 2017, 12:13 PM
tcanabrava added a subscriber: tcanabrava.

just remember to add a TODO: Clear this later.

rizzitello updated this revision to Diff 20537.Oct 9 2017, 8:05 PM

Redo the fix

tcanabrava accepted this revision.Oct 10 2017, 7:30 AM

way way better.

patrickelectric requested changes to this revision.Oct 10 2017, 2:41 PM
patrickelectric added a subscriber: patrickelectric.
patrickelectric added inline comments.
src/temperature.cpp
99

Use a better variable name, like: targetBed and targetExt.

This revision now requires changes to proceed.Oct 10 2017, 2:41 PM
rizzitello added inline comments.Oct 10 2017, 3:31 PM
src/temperature.cpp
99

At this point we do not know if temp1 or temp2 is the bed or extruder target.For this reason I just left them as temp1 and temp2.

rizzitello updated this revision to Diff 20682.Oct 13 2017, 3:26 PM
  • Better varible names
rizzitello marked an inline comment as done.Oct 13 2017, 3:33 PM
patrickelectric accepted this revision.Oct 13 2017, 4:38 PM
patrickelectric added inline comments.
src/temperature.cpp
99

Ty for the new name.

This revision is now accepted and ready to land.Oct 13 2017, 4:38 PM
This revision was automatically updated to reflect the committed changes.