diff --git a/temp.c b/temp.c index b6e5aa8..8e3abd8 100644 --- a/temp.c +++ b/temp.c @@ -374,10 +374,9 @@ void temp_print(temp_sensor_t index) { sersendf_P(PSTR("\nT:%u.%u"), temp_sensors_runtime[index].last_read_temp >> 2, c); #endif #ifdef HEATER_BED - uint8_t b = 0; - b = (temp_sensors_runtime[HEATER_BED].last_read_temp & 3) * 25; + c = (temp_sensors_runtime[HEATER_BED].last_read_temp & 3) * 25; - sersendf_P(PSTR(" B:%u.%u"), temp_sensors_runtime[HEATER_BED].last_read_temp >> 2 , b); + sersendf_P(PSTR(" B:%u.%u"), temp_sensors_runtime[HEATER_BED].last_read_temp >> 2 , c); #endif }