diff --git a/src/display.c b/src/display.c --- a/src/display.c +++ b/src/display.c @@ -84,7 +84,7 @@ void display_process(void) if(temp_changed || state_changed) { char tempstr[16]; - snprintf(tempstr, 16, "Temp: %6.1f", status->temp); + snprintf(tempstr, 16, "Temp: %4.1f", status->temp); // ssd1306_drawstring(" ", 3, 40); ssd1306_drawstring(tempstr, 3, 40); @@ -721,7 +721,7 @@ static void draw_setpoint(therm_status_t // FIXME: need to do this when switching modes too if(status->temp != temp_last || trigger_drawsetpoint) { char tempstr[8]; - snprintf(tempstr, 8, "%g ", status->temp); + snprintf(tempstr, 8, "%4.1f", status->temp); ssd1306_drawstringbig(tempstr, 3, 0); }