mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 22:48:14 +08:00
去除多余, 运行OK
This commit is contained in:
8
TC1/mqtt_server/net.h
Normal file
8
TC1/mqtt_server/net.h
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
void UserSend(int udp_flag, char *s)
|
||||
{
|
||||
if (udp_flag || !UserMqttIsConnect())
|
||||
UserUdpSend(s); //发送数据
|
||||
else
|
||||
UserMqttSend(s);
|
||||
}
|
||||
Reference in New Issue
Block a user