fixed temperature reading problem where ReplicatorG would freeze because there is no newline before the temperature prints out...

This commit is contained in:
Kieran Levin 2011-04-16 23:36:47 -05:00 committed by Michael Moon
parent 74e03b7df1
commit 61ca4c114e
1 changed files with 1 additions and 1 deletions

2
temp.c
View File

@ -339,7 +339,7 @@ void temp_print(temp_sensor_t index) {
c = (temp_sensors_runtime[index].last_read_temp & 3) * 25;
sersendf_P(PSTR("T:%u.%u"), temp_sensors_runtime[index].last_read_temp >> 2, c);
sersendf_P(PSTR("\nT:%u.%u"), temp_sensors_runtime[index].last_read_temp >> 2, c);
#ifdef HEATER_BED
uint8_t b = 0;
b = (temp_sensors_runtime[HEATER_BED].last_read_temp & 3) * 25;