thermferm/server.c

changeset 708
13555c27b592
parent 706
50d9a25aba86
child 714
24749c296a50
--- a/thermferm/server.c	Wed Apr 24 21:58:27 2024 +0200
+++ b/thermferm/server.c	Thu Apr 25 14:26:47 2024 +0200
@@ -740,7 +740,7 @@
 	srv_send(s, (char *)"TEMP_VALUE,%.1f", Config.temp_value / 1000.0);
 	srv_send(s, (char *)"HUM_UUID,%s", Config.hum_uuid);
 	srv_send(s, (char *)"HUM_STATE,%s", DEVPRESENT[Config.hum_state]);
-	srv_send(s, (char *)"HUM_VALUE,%.0f", Config.hum_value / 1000.0);
+	srv_send(s, (char *)"HUM_VALUE,%.1f", Config.hum_value / 1000.0);
 	srv_send(s, (char *)"TEMP_HUM_IDX,%d", Config.temp_hum_idx);
 	srv_send(s, (char *)"LCD_COLS,%d", Config.lcd_cols);
 	srv_send(s, (char *)"LCD_ROWS,%d", Config.lcd_rows);

mercurial