fix(iot_mqtt): iot_mqtt_send(buf) 遗漏改为 mqttBuf
This commit is contained in:
@@ -112,7 +112,7 @@ static int iot_mqtt_send_connect(void) {
|
|||||||
}
|
}
|
||||||
PRINT("IOT: → CONNECT clientId=%s keepAlive=%d\n",
|
PRINT("IOT: → CONNECT clientId=%s keepAlive=%d\n",
|
||||||
opts.clientID.cstring, opts.keepAliveInterval);
|
opts.clientID.cstring, opts.keepAliveInterval);
|
||||||
return iot_mqtt_send(buf, (uint16_t)len);
|
return iot_mqtt_send(mqttBuf, (uint16_t)len);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 发送 MQTT SUBSCRIBE */
|
/* 发送 MQTT SUBSCRIBE */
|
||||||
|
|||||||
Reference in New Issue
Block a user