Changed temperature table for bed, to the one for the bed, instead of for the heater.
This commit is contained in:
parent
eb7a192c94
commit
d8b6c5f233
1 changed files with 1 additions and 1 deletions
|
|
@ -971,7 +971,7 @@ inline void process_commands()
|
||||||
break;
|
break;
|
||||||
case 190: // M190 - Wait bed for heater to reach target.
|
case 190: // M190 - Wait bed for heater to reach target.
|
||||||
#if TEMP_1_PIN > -1
|
#if TEMP_1_PIN > -1
|
||||||
if (code_seen('S')) target_bed_raw = temp2analogh(code_value());
|
if (code_seen('S')) target_bed_raw = temp2analogBed(code_value());
|
||||||
codenum = millis();
|
codenum = millis();
|
||||||
while(current_bed_raw < target_bed_raw) {
|
while(current_bed_raw < target_bed_raw) {
|
||||||
if( (millis()-codenum) > 1000 ) //Print Temp Reading every 1 second while heating up.
|
if( (millis()-codenum) > 1000 ) //Print Temp Reading every 1 second while heating up.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue