alter temperature reporting in reprap host compatibility mode
Signed-off-by: Michael Moon <triffid.hunter@gmail.com>
This commit is contained in:
parent
99c03b8d26
commit
3898626534
2
temp.c
2
temp.c
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue