thermferm/server.c

changeset 703
344470c6bb1c
parent 702
d77891f8915d
child 706
50d9a25aba86
--- a/thermferm/server.c	Wed Apr 24 11:04:00 2024 +0200
+++ b/thermferm/server.c	Wed Apr 24 16:46:45 2024 +0200
@@ -1550,6 +1550,9 @@
 	unit->PID_heat = (pid_var *)malloc(sizeof(pid_var));
 	InitPID(unit->PID_cool, PID_TYPE_COOL);
 	InitPID(unit->PID_heat, PID_TYPE_HEAT);
+	unit->PID_heat->pGain = unit->PID_cool->pGain = 5000.0;
+	unit->PID_heat->iGain = unit->PID_cool->iGain = 25.0;
+	unit->PID_heat->dGain = unit->PID_cool->dGain = 5.0;
 
 	/*
 	 * Block main process

mercurial