@@ -46,27 +46,27 @@ int main(void)
bootloader_enter();
// Init SPI busses
spi_init();
// Init OLED over SPI
ssd1306_init();
ssd1306_clearscreen();
// Default settings
set.val.boottobrew = 0;
set.val.temp_units = TEMP_UNITS_FAHRENHEIT;
set.val.windup_guard = 200;
set.val.windup_guard = 10;
set.val.k_p = 10;
set.val.k_i = 10;
set.val.k_i = 1;
set.val.k_d = 1;
set.val.ignore_tc_error = 0;
set.val.setpoint_brew = 70;
set.val.setpoint_steam = 70;
// Default status
status.temp = 0;
status.temp_frac = 0;
status.state_resume = 0;
status.state = STATE_IDLE;
status.setpoint = 70;
status.pid_enabled = 0;
Status change: