thermferm/thermferm.c

changeset 678
cc49115e769e
parent 675
825210ba2707
child 693
3518c07737d8
--- a/thermferm/thermferm.c	Sun Apr 14 14:41:38 2024 +0200
+++ b/thermferm/thermferm.c	Mon Apr 15 17:04:57 2024 +0200
@@ -1029,7 +1029,7 @@
     float		LCDair, LCDbeer, LCDspL, LCDspH;
     unsigned char	LCDstatC, LCDstatH;
 
-    unit->mqtt_flag &= ~MQTT_FLAG_DATA;
+//    unit->mqtt_flag &= ~MQTT_FLAG_DATA;
     unit->alarm_flag = 0;
 
     if (unit->air_address) {
@@ -1623,7 +1623,7 @@
 	    unit->mqtt_flag &= ~MQTT_FLAG_BIRTH;
 	} else {
 	    publishDData(unit);
-	    unit->mqtt_flag &= ~MQTT_FLAG_DATA;
+//	    unit->mqtt_flag &= ~MQTT_FLAG_DATA;
 	}
 	if (unit->mqtt_flag & MQTT_FLAG_DEATH) {
 	    publishDDeath(unit);

mercurial