1409 unit->heater_delay = unit->cooler_delay = unit->fan_delay = 20; /* 5 minutes delay */ |
1409 unit->heater_delay = unit->cooler_delay = unit->fan_delay = 20; /* 5 minutes delay */ |
1410 unit->light_delay = 1; /* 15 seconds delay */ |
1410 unit->light_delay = 1; /* 15 seconds delay */ |
1411 unit->heater_wait = unit->cooler_wait = unit->fan_wait = unit->light_wait = 0; |
1411 unit->heater_wait = unit->cooler_wait = unit->fan_wait = unit->light_wait = 0; |
1412 unit->heater_usage = unit->cooler_usage = unit->fan_usage = unit->light_usage = 0; |
1412 unit->heater_usage = unit->cooler_usage = unit->fan_usage = unit->light_usage = 0; |
1413 unit->temp_set_min = 1.0; |
1413 unit->temp_set_min = 1.0; |
1414 unit->temp_set_max = 30.0; |
1414 unit->temp_set_max = 45.0; |
1415 unit->prof_started = unit->prof_paused = unit->prof_primary_done = (time_t)0; |
1415 unit->prof_started = unit->prof_paused = unit->prof_primary_done = (time_t)0; |
1416 unit->prof_percent = 0; |
1416 unit->prof_percent = 0; |
1417 unit->PID_cool = (pid_var *)malloc(sizeof(pid_var)); |
1417 unit->PID_cool = (pid_var *)malloc(sizeof(pid_var)); |
1418 unit->PID_heat = (pid_var *)malloc(sizeof(pid_var)); |
1418 unit->PID_heat = (pid_var *)malloc(sizeof(pid_var)); |
1419 InitPID(unit->PID_cool, PID_TYPE_COOL); |
1419 InitPID(unit->PID_cool, PID_TYPE_COOL); |