mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 07:05:56 +00:00
parent
79bd47736c
commit
46f2e25ce0
|
@ -40,7 +40,7 @@ void example_do_connect(mqtt_client_t *client)
|
||||||
|
|
||||||
err = mqtt_client_connect(client, ip_addr, MQTT_PORT, mqtt_connection_cb, 0, &ci);
|
err = mqtt_client_connect(client, ip_addr, MQTT_PORT, mqtt_connection_cb, 0, &ci);
|
||||||
|
|
||||||
/* For now just print the result code if something goes wrong
|
/* For now just print the result code if something goes wrong */
|
||||||
if(err != ERR_OK) {
|
if(err != ERR_OK) {
|
||||||
printf("mqtt_connect return %d\n", err);
|
printf("mqtt_connect return %d\n", err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user