Skip to content

Commit

Permalink
GREAT stability improvement? Send MQTt only for a callback... thanks …
Browse files Browse the repository at this point in the history
…Valek
  • Loading branch information
openshwprojects committed Nov 2, 2022
1 parent e3cae31 commit c73dcaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/network/lwip/src/apps/mqtt/mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ mqtt_publish(mqtt_client_t *client, const char *topic, const void *payload, u16_
}

mqtt_append_request(&client->pend_req_queue, r);
mqtt_output_send(&client->output, client->conn);
//mqtt_output_send(&client->output, client->conn);
return ERR_OK;
}

Expand Down Expand Up @@ -1221,7 +1221,7 @@ mqtt_sub_unsub(mqtt_client_t *client, const char *topic, u8_t qos, mqtt_request_
}

mqtt_append_request(&client->pend_req_queue, r);
mqtt_output_send(&client->output, client->conn);
//mqtt_output_send(&client->output, client->conn);
return ERR_OK;
}

Expand Down

0 comments on commit c73dcaa

Please sign in to comment.