593:55b849fc2d20 | 594:1904badedf8f |
---|---|
2086 unit->temp_set_max = fval; | 2086 unit->temp_set_max = fval; |
2087 } | 2087 } |
2088 | 2088 |
2089 } | 2089 } |
2090 if (unit->mqtt_flag) { | 2090 if (unit->mqtt_flag) { |
2091 if (debug) | |
2092 fprintf(stdout, "flag value %d\n", unit->mqtt_flag); | |
2093 if (unit->mqtt_flag & MQTT_FLAG_BIRTH) { | 2091 if (unit->mqtt_flag & MQTT_FLAG_BIRTH) { |
2094 publishDBirth(unit); | 2092 publishDBirth(unit); |
2095 } else { | 2093 } else { |
2096 publishDData(unit); | 2094 publishDData(unit); |
2097 } | 2095 } |