Merge pull request #3277 from jbrazio/bugfix/m190-temp-never-reached
M190 bed temp is never reached
This commit is contained in:
commit
12c0bf9521
@ -4320,7 +4320,7 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
cancel_heatup = false;
|
cancel_heatup = false;
|
||||||
millis_t now = millis(), next_temp_ms = now + 1000UL;
|
millis_t now = millis(), next_temp_ms = now + 1000UL;
|
||||||
while (!cancel_heatup && degTargetBed() != degBed()) {
|
while (!cancel_heatup && fabs(degTargetBed() - degBed()) < 0.75f) {
|
||||||
millis_t now = millis();
|
millis_t now = millis();
|
||||||
if (now > next_temp_ms) { //Print Temp Reading every 1 second while heating up.
|
if (now > next_temp_ms) { //Print Temp Reading every 1 second while heating up.
|
||||||
next_temp_ms = now + 1000UL;
|
next_temp_ms = now + 1000UL;
|
||||||
|
Loading…
Reference in New Issue
Block a user