thermferm/server.c

changeset 208
934d45d9751d
parent 206
78fb6f99e473
child 209
c5b1dfd83e81
--- a/thermferm/server.c	Sun Aug 10 16:17:03 2014 +0200
+++ b/thermferm/server.c	Sun Aug 10 16:56:22 2014 +0200
@@ -452,10 +452,10 @@
 	srv_send((char *)"TEMPFORMAT,%c", Config.tempFormat);
 	srv_send((char *)"TEMP_ADDRESS,%s", Config.temp_address);
 	srv_send((char *)"TEMP_STATE,%s", TEMPSTATE[Config.temp_state]);
-	srv_send((char *)"TEMP_VALUE,%.3f", Config.temp_value / 1000.0);
+	srv_send((char *)"TEMP_VALUE,%.1f", Config.temp_value / 1000.0);
 	srv_send((char *)"HUM_ADDRESS,%s", Config.hum_address);
 	srv_send((char *)"HUM_STATE,%s", TEMPSTATE[Config.hum_state]);
-	srv_send((char *)"HUM_VALUE,%.3f", Config.hum_value / 1000.0);
+	srv_send((char *)"HUM_VALUE,%.0f", Config.hum_value / 1000.0);
 #ifdef HAVE_WIRINGPI_H
 	srv_send((char *)"LCD_COLS,%d", Config.lcd_cols);
 	srv_send((char *)"LCD_ROWS,%d", Config.lcd_rows);

mercurial