@@ -170,6 +170,7 @@ void update_temp() {
// PID implementation
// TODO: Make struct that has the last_temp and i_state in it, pass by ref. Make struct that has other input values maybe.
int16_t last_pid_temp = 0;
uint8_t last_pid_temp_frac = 0;
int16_t i_state = 0;
@@ -324,6 +325,8 @@ void save_setpoints()
Minimal_EEPROM_Lock();
}
// TODO: Make a struct that has all settings in it. Pass by ref to this func in a library.
void restore_settings()
{
Minimal_EEPROM_Unlock();
Status change: