Removed simulator debug support

Thu, 09 May 2019 17:20:58 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 09 May 2019 17:20:58 +0200
changeset 595
d7342a8e7f4d
parent 594
1904badedf8f
child 596
e3d3cde32847

Removed simulator debug support

thermferm/simulator.c file | annotate | diff | comparison | revisions
--- a/thermferm/simulator.c	Thu May 09 17:16:49 2019 +0200
+++ b/thermferm/simulator.c	Thu May 09 17:20:58 2019 +0200
@@ -26,7 +26,6 @@
 #ifdef USE_SIMULATOR
 
 extern int		my_shutdown;
-extern int		debug;
 extern sys_config	Config;
 
 int SIMcooling = 0;
@@ -125,14 +124,6 @@
 		simulator->beer_temperature += ((simulator->air_temperature - simulator->beer_temperature) / 500.0);
 		simulator->air_temperature += ((simulator->beer_temperature - simulator->air_temperature) / 2500.0);
 		simulator->chiller_temperature = simulator->cooler_temp;	// Libk these
-
-//		if ((seconds % 15) == 0)
-//		    syslog(LOG_NOTICE, "air=%.3f beer=%.3f heater=%.3f cooler=%.3f", simulator->air_temperature, simulator->beer_temperature,
-//				simulator->s_heat_temp, simulator->s_cool_temp);
-
-//		if (debug)
-//		    fprintf(stdout, "sqm_room_air=%f air=%f air_heat_transfer=%f air_change=%f beer=%f\n",
-//			sqm_room_air, simulator->air_temperature, air_heat_transfer, air_change, simulator->beer_temperature);
 	    }
 	    usleep(100000);
 	}

mercurial