thermferm/server.c

changeset 594
1904badedf8f
parent 592
ff30227c0903
child 599
b44eb07cab48
equal deleted inserted replaced
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 }

mercurial