# HG changeset patch # User Ethan Zonca # Date 2014-11-22 17:21:51 # Node ID 0ac9c0fc6e354124692ecf68d653e9afc462410a # Parent 89dc4e02c836f5324a3d3ae31a7f93761d7d8cf5 TC error page is now exited when a TC is attached. The error sometimes happens randomly. Changed verbage from brew to heat. diff --git a/main.c b/main.c --- a/main.c +++ b/main.c @@ -166,6 +166,9 @@ void update_temp() { } else { + if(state == STATE_TC_ERROR) + state = STATE_IDLE; + uint8_t sign = temp >> 15;// top bit is sign temp_pre = temp_pre >> 2; // Drop 2 lowest bits @@ -437,7 +440,7 @@ void machine() switch(goto_mode) { case 2: { - ssd1306_DrawString("-> brew ", 1, 40); + ssd1306_DrawString("-> heat ", 1, 40); } break; case 1: @@ -640,10 +643,10 @@ void machine() // Write text to OLED // [ therm :: set windup ] // [ g = 12 ] - ssd1306_DrawString("Boot to Brew", 0, 40); + ssd1306_DrawString("Start on Boot", 0, 40); ssd1306_drawlogo(); - ssd1306_DrawString("btb=", 1, 45); + ssd1306_DrawString("sob=", 1, 45); if(boottobrew) ssd1306_DrawString("Enabled ", 1, 70);