diff options
author | blddk <michael.andresen@gmail.com> | 2012-01-22 15:43:51 +0100 |
---|---|---|
committer | blddk <michael.andresen@gmail.com> | 2012-01-22 15:43:51 +0100 |
commit | d8b6c5f233e905dbb5282a255dddd68deb1c3d7f (patch) | |
tree | c03e065f7573212bc870107a1131d29deb5a7a0c | |
parent | eb7a192c945677d09ddd669cc047480bc5ddeeae (diff) |
Changed temperature table for bed, to the one for the bed, instead of for the heater.
-rw-r--r-- | Sprinter/Sprinter.pde | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde index 5387923..e793891 100644 --- a/Sprinter/Sprinter.pde +++ b/Sprinter/Sprinter.pde @@ -971,7 +971,7 @@ inline void process_commands() break; case 190: // M190 - Wait bed for heater to reach target. #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(); while(current_bed_raw < target_bed_raw) { if( (millis()-codenum) > 1000 ) //Print Temp Reading every 1 second while heating up. |