@@ -86,25 +86,25 @@ int main(void)
status.state_resume = 0;
status.state = STATE_IDLE;
status.setpoint = 0;
status.pid_enabled = 0;
// Load settings (if any) from EEPROM
restore_settings();
if(set.boottobrew)
status.state = STATE_PREHEAT_BREW; // Go to brew instead of idle if configured thusly
// Startup screen
ssd1306_DrawString("therm v0.1", 1, 40);
ssd1306_DrawString("therm v0.2", 1, 40);
ssd1306_DrawString("protofusion.org/therm", 3, 0);
HAL_Delay(1500);
ssd1306_clearscreen();
// Main loop
while(1)
{
// Process sensor inputs
process();
// Run state machine
Status change: