From 9b7fef2e8401766e4c56f13985e2e85fbc6d5558 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Thu, 19 Feb 2015 05:18:33 +0100 Subject: [PATCH] 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. --- dda_queue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dda_queue.c b/dda_queue.c index 1e149a8..9b2e26d 100644 --- a/dda_queue.c +++ b/dda_queue.c @@ -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);