Skip to content

Commit

Permalink
fixed temperature reading problem where ReplicatorG would freeze beca…
Browse files Browse the repository at this point in the history
…use there is no newline before the temperature prints out...
  • Loading branch information
kiram9 authored and triffid committed Apr 29, 2011
1 parent 74e03b7 commit 61ca4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion temp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 61ca4c1

Please sign in to comment.