dda_queue.c: report temperatures spontanuously while heating.

A spontaneous temperature report will be produced once a second
while waiting (via M116) for temps to be achieved.

Costs 14 bytes binary size.
This commit is contained in:
Markus Hitter 2015-02-19 05:18:33 +01:00
parent 3f4e01f991
commit 9b7fef2e84
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ void queue_step() {
current_movebuffer->live = current_movebuffer->done = 0;
serial_writestr_P(PSTR("Temp achieved\n"));
}
else {
temp_print(TEMP_SENSOR_none);
serial_writechar('\n');
}
}
else {
dda_step(current_movebuffer);