M109 just waits if no temperature provided

This commit is contained in:
Michael Moon 2011-04-29 10:08:58 +10:00
parent 61ca4c114e
commit e2cb6aef72
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ void process_gcode_command() {
// M109- set temp and wait
case 109:
temp_set(next_target.P, next_target.S);
if (next_target.seen_S)
temp_set(next_target.P, next_target.S);
if (next_target.S) {
power_on();
enable_heater();