alter temperature reporting in reprap host compatibility mode

Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
Casainho 2010-10-08 21:08:52 +11:00 committed by Michael Moon
parent 99c03b8d26
commit 3898626534
1 changed files with 1 additions and 1 deletions

2
temp.c
View File

@ -191,7 +191,7 @@ void temp_print() {
c = (current_temp & 3) * 25; c = (current_temp & 3) * 25;
t = (target_temp & 3) * 25; t = (target_temp & 3) * 25;
#ifdef REPRAP_HOST_COMPATIBILITY #ifdef REPRAP_HOST_COMPATIBILITY
sersendf_P(PSTR("T: %u.%u\n"), current_temp >> 2, c); sersendf_P(PSTR(" T: %u.%u\n"), current_temp >> 2, c);
#else #else
sersendf_P(PSTR("T: %u.%u/%u.%u :%u\n"), current_temp >> 2, c, target_temp >> 2, t, temp_residency); sersendf_P(PSTR("T: %u.%u/%u.%u :%u\n"), current_temp >> 2, c, target_temp >> 2, t, temp_residency);
#endif #endif