Skip to content
Permalink
Browse files

fixed temperature reading problem where ReplicatorG would freeze beca…

…use there is no newline before the temperature prints out...
  • Loading branch information...
kiram9 authored and triffid committed Apr 17, 2011
1 parent 74e03b7 commit 61ca4c114ebdac98f4b032c2d4b0286512d77c87
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

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;

0 comments on commit 61ca4c1

Please sign in to comment.
You can’t perform that action at this time.