thermferm/server.c

changeset 398
efdfef1677d1
parent 397
00ca08f5a6f8
child 418
0bfe08c7ba6e
--- a/thermferm/server.c	Wed Sep 16 22:05:05 2015 +0200
+++ b/thermferm/server.c	Thu Sep 17 13:09:29 2015 +0200
@@ -2132,7 +2132,7 @@
 		}
 		srv_send((char *)"PROF_TARGET_LO,%.3f", unit->prof_target_lo);
 		srv_send((char *)"PROF_TARGET_HI,%.3f", unit->prof_target_hi);
-		srv_send((char *)"PROF_FRIDGE_MODE,%.3f", unit->prof_fridge_mode);
+		srv_send((char *)"PROF_FRIDGE_MODE,%d", unit->prof_fridge_mode);
 		srv_send((char *)"PROF_PEAK_ABS,%.3f", unit->prof_peak_abs);
 		srv_send((char *)"PROF_PEAK_REL,%.3f", unit->prof_peak_rel);
 		srv_send((char *)"PROF_PRIMARY_DONE,%d", (int)unit->prof_primary_done);

mercurial