# HG changeset patch # User Ethan Zonca # Date 2015-06-05 21:12:37 # Node ID e4fd36b0ba55fd60b69390ffc973682df35cdce4 # Parent b2cb29d690a8594c861f29c9c22627f7acab3cf9 Make error screen prettier diff --git a/display.c b/display.c --- a/display.c +++ b/display.c @@ -486,12 +486,12 @@ void display_process(therm_settings_t* s // Write text to OLED // [ therm : ready to steam ] // [ 30 => 120 C ] - ssd1306_DrawString("Error:", 0, 0); + ssd1306_DrawString("Error: ", 0, 0); if(status->tc_errno == 1) - ssd1306_DrawString("#1, Check Sensor", 1, 0); + ssd1306_DrawString(" Check Sensor (1)", 1, 0); else if(status->tc_errno == 4) - ssd1306_DrawString("#4, Check Sensor", 1, 0); + ssd1306_DrawString(" Check Sensor (2)", 1, 0); else ssd1306_DrawString("#?, Unknown Error", 1, 0); ssd1306_DrawString(" ", 2, 0);