fixed temperature reading problem where ReplicatorG would freeze because there is no newline before the temperature prints out...
This commit is contained in:
parent
74e03b7df1
commit
61ca4c114e
2
temp.c
2
temp.c
|
|
@ -339,7 +339,7 @@ void temp_print(temp_sensor_t index) {
|
||||||
|
|
||||||
c = (temp_sensors_runtime[index].last_read_temp & 3) * 25;
|
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
|
#ifdef HEATER_BED
|
||||||
uint8_t b = 0;
|
uint8_t b = 0;
|
||||||
b = (temp_sensors_runtime[HEATER_BED].last_read_temp & 3) * 25;
|
b = (temp_sensors_runtime[HEATER_BED].last_read_temp & 3) * 25;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue