提交 cd956500 编写于 作者: M mculover666

fix a bug in exp8266_tc_fw

上级 257a5e98
......@@ -356,6 +356,8 @@ void esp8266_tencent_firmware_recvpub(void)
uint8_t data;
int read_len = 0, payload_len = 0;
memset(&mqtt_message, 0, sizeof(mqtt_message));
while (1) {
if (tos_at_uart_read(&data, 1) != 1) {
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册