1065 unit->temp_set_min = 1.0; |
1065 unit->temp_set_min = 1.0; |
1066 unit->temp_set_max = 30.0; |
1066 unit->temp_set_max = 30.0; |
1067 unit->idle_rangeH = 1.0; |
1067 unit->idle_rangeH = 1.0; |
1068 unit->idle_rangeL = -1.0; |
1068 unit->idle_rangeL = -1.0; |
1069 unit->prof_started = (time_t)0; |
1069 unit->prof_started = (time_t)0; |
|
1070 unit->PID_err_old = 0.0; |
1070 |
1071 |
1071 if (Config.units == NULL) { |
1072 if (Config.units == NULL) { |
1072 Config.units = unit; |
1073 Config.units = unit; |
1073 } else { |
1074 } else { |
1074 for (tmpu = Config.units; tmpu; tmpu = tmpu->next) { |
1075 for (tmpu = Config.units; tmpu; tmpu = tmpu->next) { |