Commit f303639d authored by 957dd's avatar 957dd

apt nqttbeat bug

parent d20974cc
No preview for this file type
...@@ -101,7 +101,6 @@ void *Mqtt_onnect(void *arg) ...@@ -101,7 +101,6 @@ void *Mqtt_onnect(void *arg)
Delay_Ms(5,0); Delay_Ms(5,0);
mqtt_init();//mqtt初始化 mqtt_init();//mqtt初始化
mqtt_create(mosq);//创建mqtt客户端 mqtt_create(mosq);//创建mqtt客户端
mqtt_wirte();//mqtt心跳首次发送
while(1) while(1)
{ {
mqtt_create(mosq); mqtt_create(mosq);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment