a2633063 / zTC1

斐讯TC1智能排插个人固件. 仅支持TC1硬件版本为a1的版本
https://a2633063.github.io/zTC1/
697 stars 179 forks source link

设置了MQTT之后,UDP功率数据没返回 #28

Closed HuaZao closed 5 years ago

HuaZao commented 5 years ago

通过查看zTC1的源码,以下写法是否存在BUG? 类名:user_function.c Line:22行

void user_send( int udp_flag, char *s ) { if ( udp_flag || !user_mqtt_isconnect( ) ) user_udp_send( s ); //发送数据 else user_mqtt_send( s ); }

HuaZao commented 5 years ago

问题已解决